当我尝试使用 capistrano 部署项目时出现以下错误:
Gem::LoadError: Could not find 'rubygems-bundler' (>= 0) among 69 total gem(s)
An error occured while installing cocaine (0.3.2), and Bundler cannot continue.
Make sure that `gem install cocaine -v '0.3.2'` succeeds before bundling.
现在一个gem list | grep cocaine
说cocaine (0.4.2, 0.3.2, 0.2.1)
和一个gem list | grep rubygems-bundler
说rubygems-bundler (1.0.2)
,所以我知道宝石已安装。
which ruby
说/home/ubuntu/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
有人有想法么?提前致谢!