未知验证器:Rails部署期间的'RedirectUriValidator'

时间:2013-10-11 02:06:55

标签: ruby-on-rails deployment capistrano doorkeeper

我们遇到了服务器问题,因此替换的虚拟机被启动了许多复制到新虚拟机的项目(即Ubuntu 12.04)。

我正在运行上限部署到服务器,一切顺利,直到rake db:migrate步骤,此时我得到:

** [out :: 63.247.75.161]耙子中止了!  ** [out :: 63.247.75.161]未知验证器:'RedirectUriValidator'  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/activemodel-3.2.14/lib/active_model/validations/validates.rb:96:in {{ 1}}阻止验证'  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/activemodel-3.2.14/lib/active_model/validations/validates.rb:90:in {{ 1}}验证  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/doorkeeper-0.6.7/lib/doorkeeper/models/application.rb:10:in {{ 1}}”  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/doorkeeper-0.6.7/lib/doorkeeper/models/application.rb:1:in {{ 1}}需要”  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in {{1} } load_dependency”  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in {{1} } enable_orm”  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/doorkeeper-0.6.7/lib/doorkeeper/config.rb:10:in {{1} }”  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:245:in {{1}阻止'加载'  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:236:in {{1} }加载'  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/engine.rb:593:in {{1} }每'  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/engine.rb:592:in {{1} } instance_exec”  ** [出:: 63.247.75.161]  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/initializable.rb:30:in {{1}在run_initializers中阻止'  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/initializable.rb:54:in {{1} } run_initializers'  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/application.rb:136:in {{1} } method_missing的”  ** [out :: 63.247.75.161] /var/www/test/releases/20131011015404/config/environment.rb:5:in rescue in block in validates' ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/activemodel-3.2.14/lib/active_model/validations/validates.rb:93:in require'  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in {{1} } load_dependency”  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in {{1} } require_environment!”  ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/application.rb:305:in`block(2等级)在initialize_tasks'中  ** [out :: 63.247.75.161]任务:TOP => db:migrate =>环境  ** [out :: 63.247.75.161](通过使用--trace运行任务查看完整跟踪)

我尝试了几种门卫,还有红宝石1.9.2和1.9.3。

我无法弄清楚为什么突然间它会被打破。自上次部署以来,我已经完成了很多应用程序更改,但是没有关于门卫实现的任何内容。

0 个答案:

没有答案