简体   繁体   中英

problems while deploying to ec2 with rubber

Folks,

I am having some problems while deploying to ec2 using the rubber gem. My development machine is ubuntu, I am using rvm.

When I do this:

cap rubber:create_staging

I get:

/usr/lib/ruby/vendor_ruby/1.8/rubygems.rb:926:in report_activate_error': Could not find RubyGem capistrano (>= 0) (Gem::LoadError) from /usr/lib/ruby/vendor_ruby/1.8/rubygems.rb:244:in activate_dep' from /usr/lib/ruby/vendor_ruby/1.8/rubygems.rb:236:in activate' from /usr/lib/ruby/vendor_ruby/1.8/rubygems.rb:1307:in gem' from /usr/local/bin/cap:18 Does anyone know what is going on?

Like Sairam says in his/her comment above, you need to install the Capistrano gem locally.

You can either do this by running "gem install capistrano" or adding Capistrano to your Gemfile and running "bundle update".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM