The loading of 'EC2' failed
I ran sudo gem install jnewland-capsize which automatically installed the amazon-ec2 gem. Immediately afterwards, I ran cap ec2:setup and received the following message:
The loading of 'EC2' failed in capsize.rb with message : no such file to load -- EC2.
I've been fighting with this for an hour or so. Any tips?
+1 Same problem.
+1 Same problem
+1 Same problem
The problem is that amazon-ec2 has changed its filenames.
I fixed this for me, as a temporary workaround, by modifying capsize.rb in my gems directory, which for me is: /usr/lib/ruby/gems/1.8/gems/jnewland-capsize-0.5.2/lib/capsize.rb
The file starts off with a list of includes. I changed the line with "EC2" in it to be "AWS", followed beneath it "AWS/EC2".
You can verify before doing this that this is likely to work by opening up an irb console, requiring rubygems, then requiring "AWS" followed by "AWS/EC2".