2014-06-18 91 views
0
/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 

我試圖運行帽部署,我不斷得到這個請幫助!帽錯誤試圖部署不工作

+0

你真的在你的gemfile裏有'when'嗎? –

回答

0
no such file to load -- whenever/capistrano 

你需要 '每當/ Capistrano的' 地方(可能是您deploy.rb),並沒有這樣的寶石。不要那樣做,或者得到寶石。

相關問題