Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The loading of 'EC2' failed #2

Open
skyzyx opened this issue Oct 9, 2009 · 4 comments
Open

The loading of 'EC2' failed #2

skyzyx opened this issue Oct 9, 2009 · 4 comments

Comments

@skyzyx
Copy link

skyzyx commented Oct 9, 2009

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?

@inem
Copy link

inem commented Oct 13, 2009

+1 Same problem.

@cruggles
Copy link

+1 Same problem

1 similar comment
@konklone
Copy link

konklone commented Dec 9, 2009

+1 Same problem

@konklone
Copy link

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants