尝试部署不工作的上限错误

时间:2014-06-18 15:35:46

标签: ruby-on-rails ruby ubuntu capistrano

/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- whenever/capistrano (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:152:in `require'
from ./config/deploy.rb:16:in `load'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:89:in `load'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `each'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
from Capfile:5:in `load'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:89:in `load'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `each'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:65:in `load_recipes'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:65:in `each'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:65:in `load_recipes'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:31:in `execute!'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:14:in `execute'
from /var/lib/gems/1.8/gems/capistrano-2.12.0/bin/cap:4
from /usr/local/bin/cap:19:in `load'
from /usr/local/bin/cap:19

我试图运行上限部署,我一直得到这个请求帮助!

1 个答案:

答案 0 :(得分:0)

no such file to load -- whenever/capistrano

你需要'when / capistrano'某处(可能是你的deploy.rb),并且没有那个宝石。不要这样做,或者获得宝石。