stupidity in including gems

there was a mistake and hence a lesson. i had installed the ec2 gem and tried using it. i put the example file in directory and called it ec2. when i tried executing the file, it failed saying it cannot load ‘amazon/ec2′. after monkeying around for a while, i realized my folly of having named the test file ec2 and requiring a ruby gem of the same name from lib. i renamed my test script and everything was fine since then. :-)   

Blogged with the Flock Browser

Tags:

Advertisement

Post a Comment

Required fields are marked *

*
*

Follow

Get every new post delivered to your Inbox.