Ruby – invalid gem format
Wednesday, December 9th, 2009For days I was banging my head against a firewall issue for a client. I had to set-up a Ruby on Rails environment plus a few other needed gems.
Everytime I tried the: gem install
A number of Google searches only turned up the following, “delete the gem in the cache folder and try again. Fat lot of help that was.
Eventually through trial and error I found that if I manually downloaded each gem, moved to the directory of the downloaded gem and did a: gem install –local
The error message I kept getting was worse than useless, it kept pointing me in the wrong direction.
This was a pain in the ass, especially when setting up Rails where you have multiple gems that have to be installed in a certain order AND you are brand new to it all. Worse, I never found one site within Google’s vast search domain that had a similar problem. So, no help from the crowd.
Hopefully this post will save someone else some headache down the line.






