我正在尝试使用Capistrano的美洲狮宝石。当我cap deploy
时,我得到cannot load such file -- puma/capistrano (LoadError)
。我在这里做错了什么?
的Gemfile
gem 'puma', :git => "git://github.com/puma/puma.git"
Gemfile.lock的
GIT
remote: git://github.com/puma/puma.git
revision: 2280b68d987bfe17f00bb92c772b971a4f073ca6
specs:
puma (2.0.0.b1)
rack (~> 1.2)
deploy.rb
require 'puma/capistrano'
栈跟踪
/Users/Kyle/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': cannot load such file -- puma/capistrano (LoadError)
from /Users/Kyle/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:152:in `require'
from ./config/deploy.rb:3:in `load'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:93:in `instance_eval'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:93:in `load'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:89:in `load'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:86:in `block in load'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:86:in `each'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:86:in `load'
from Capfile:4:in `load'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:93:in `instance_eval'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:93:in `load'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:89:in `load'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:86:in `block in load'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:86:in `each'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/configuration/loading.rb:86:in `load'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/cli/execute.rb:65:in `block in load_recipes'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/cli/execute.rb:65:in `each'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/cli/execute.rb:65:in `load_recipes'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/cli/execute.rb:31:in `execute!'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/lib/capistrano/cli/execute.rb:14:in `execute'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/gems/capistrano-2.13.4/bin/cap:4:in `<top (required)>'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/bin/cap:19:in `load'
from /Users/Kyle/.rvm/gems/ruby-1.9.3-p125/bin/cap:19:in `<main>'
答案 0 :(得分:0)