使用authlogic 2.1.3和authlogic-oid 1.0.4一旦rails命中控制器向OpenID提供者发出请求,我就会收到以下错误:
- uninitialized constant OpenIdAuthentication::InvalidOpenId
我还安装了以下内容:
> rack-openid(0.2.1)
> ruby-openid(2.1.7)
> rails / open_id_authentication插件
environment.rb中的Gems配置如下:
- config.gem "authlogic"
- config.gem "authlogic-oid",:lib => "authlogic_openid"
- config.gem "ruby-openid",:lib => "openid"
任何建议将不胜感激,谢谢.
解决方法
@H_301_19@ rails / open_id_authentication插件几天前已经更新,它破坏了与authlogic_openid gem(v = 1.0.4)的兼容性.你必须等到有人修复authlogic_openid gem(the issue)