0

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

我正在运行 cap deploy 到服务器,一切顺利,直到 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 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:inblock 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:90:in each' ** [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:invalidates' ** [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 <class:Application>' ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/doorkeeper-0.6.7/lib/doorkeeper/models/application.rb:2:in' ** [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<top (required)>' ** [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要求'** [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 block 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:236:inload_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 require' ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/doorkeeper-0.6.7/lib/doorkeeper/config.rb:24:inenable_orm' ** [出:: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/doorkeeper-0.6.7/lib/doorkeeper/config.rb:10:in configure' ** [out :: 63.247.75.161] /var/www/test/releases/20131011015404/config/initializers/doorkeeper.rb:2:in' ** [出: :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 load' ** [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:inblock in load' ** [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:inload_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:245:in加载'** [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 block (2 levels) in <class:Engine>' ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/engine.rb:592:ineach' ** [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 block in <class:Engine>' ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/initializable.rb:30:ininstance_exec' ** [out :: 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 run' ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/initializable.rb:55:inblock in 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 each' ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/initializable.rb:54:inrun_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 :在initialize!' ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/railtie/configurable.rb:30:inmethod_missing' ** [out :: 63.247.75.161] /var/www/test/releases/20131011015404/config/environment.rb:5:in<top (required)>' ** [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要求' ** [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 block 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:236:inload_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 require' ** [out :: 63.247.75.161] /var/www/test/shared/bundle/ruby/1.9.1/gems/railties-3.2.14/lib/rails/application.rb:103:inrequire_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 level) in initialize_tasks' ** [out :: 63.247.75.161] Tasks: TOP => db:migrate => environment ** [out :: 63.247.75.161] (通过使用 --trace 运行任务查看完整跟踪)

我尝试了几种不同的门卫,以及 ruby​​ 1.9.2 和 1.9.3。

我不明白为什么这会突然坏掉。自上次部署以来,我已经做了很多应用程序更改,但没有围绕门卫实施。

4

0 回答 0