0
나는 조금씩 보석이 설치되어 있으며 ApplicationController에 버전 3 용 API를 사용하도록 설정하고 있지만 위의 오류가 발생합니다. 여기 내 application_controller.rb초기화되지 않은 상수 ApplicationController :: Bitly
class ApplicationController < ActionController::Base
protect_from_forgery
Bitly.use_api_version_3
before_filter { @cart = find_or_create_cart_from_session }
before_filter { @bitly = Bitly.new('myusername', 'XXXXXX_API_KEY_XXXXX') }
예 Gemfile에 있는데'bundle install '을 실행했습니다. – Chris