我在http://www.communityguides.eu/articles/16完成了教程,并尝试启动rails服务器。运行rails服务器几秒钟后,我收到一个错误,我正在试着找出原因。以下是错误消息的摘录:
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in
`require': no such file to load --
openid/store/fetchers (LoadError)
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in
`require'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in
`load_dependency'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:596:in
`new_constants_in'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:225:in
`load_dependency'
from /usr/lib/ruby/gems/1.8/gems/activesupport-3.0.7/lib/active_support/dependencies.rb:239:in
`require'
from /etc/rails_projects/GooFace/config/environments/development.rb:31
什么是openid/store/fetchers
?我已经看过其他几个教程提到“需要”,那为什么会导致这个错误?
答案 0 :(得分:2)
我有同样的问题,我认为这与你的omniauth版本有关。在gem文件中明确指定omniauth的版本,否则您最终可能会使用版本0.0.1或奇怪的东西。请参阅https://github.com/intridea/omniauth/issues/193。