ec2_bundle_vol fails with error LoadError

Posted by Koran on Stack Overflow See other posts from Stack Overflow or by Koran
Published on 2010-04-02T18:30:59Z Indexed on 2010/04/02 18:33 UTC
Read the original article Hit count: 349

Filed under:
|

Hi,

I am a newbie in amazon ec2 setup.

I have now setup a machine to my taste - and I now want to bundle it.

I am running the following command from the launched instance -

root@domU-21-34-67-26-ED-Z4:~# ec2-bundle-vol -r i386 -d /mnt \
                              -p ACT-VOL -u 8940-1355-4155 -k /tmp/pk-key.pem \
                              -c /tmp/cert.pem -s 10240 \
                              -e /mnt,/root/.ssh,/home/ubuntu/.ssh

ruby: No such file or directory -- 
 /home/ubuntu/ec2tools/ec2-api-tools-1.3-46266/lib/ec2/amitools/bundlevol.rb (LoadError)

The ruby version is 1.8.7. I searched internet and installed libruby1.8-extras etc too, but to no avail. I also tried running it from site_ruby (/usr/local/lib/site_ruby) - but no use.

I tried installing 1.8.6 version of ruby, but was unable to find a way to do so too.

Any help would be much appreciated.

Thanks, K

© Stack Overflow or respective owner

Related posts about amazon-ec2

Related posts about ruby