2
gemfile에 oauth2와 authlogic-oauth2를 포함 시켰습니다. 사용하려고하고 서버를 시작하려고합니다. 시작되지 않고 오류가 발생합니다 :authlogic-oauth2를 사용하면 서버가 시작되지 않습니다.
/Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails.rb:44:in `configuration': undefined method `config' for nil:NilClass (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/authlogic_oauth2-1.1.2/lib/authlogic_oauth2.rb:14
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:62:in `each'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:62:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:51:in `each'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:51:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler.rb:112:in `require'
from /Users/arkidmitra/Documents/qorm_bzar/buyzaar/config/application.rb:7
from /Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails/commands.rb:28:in `require'
from /Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails/commands.rb:28
from /Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails/commands.rb:27:in `tap'
from /Library/Ruby/Gems/1.8/gems/railties-3.0.3/lib/rails/commands.rb:27
from script/rails:6:in `require'
from script/rails:6
나는 레일 3.0.3과 루비 1.8.7을 사용하고 있습니다. 또한 서버를 추가 할 때까지 서버가 계속 시작되는 것처럼 보입니다.
gem "authlogic-oauth2"
을 Gemfile에 추가하는 것으로 보입니다.
레일 구성 파일을 표시하십시오. – wizztjh
레일 구성 파일은 어떤 파일을 의미합니까? 또한 Gemfile에 "authlogic-oauth2"라는 줄 보석을 추가 할 때까지 계속해서 잘 돌아가는 것 같습니다. 보고 싶은 파일이 무엇인지 말해줘. –