ruby-on-rails – Authlogic OpenID错误:未初始化的常量OpenIdAuthentication :: InvalidOpenId

前端之家收集整理的这篇文章主要介绍了ruby-on-rails – Authlogic OpenID错误:未初始化的常量OpenIdAuthentication :: InvalidOpenId前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
使用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"

任何建议将不胜感激,谢谢.

解决方法

rails / open_id_authentication插件几天前已经更新,它破坏了与authlogic_openid gem(v = 1.0.4)的兼容性.

你必须等到有人修复authlogic_openid gem(the issue)

原文链接:https://www.f2er.com/ruby/268374.html

猜你在找的Ruby相关文章