Invalid Gem Format
Sometimes when installing Ruby Gems, you run into errors. Yeah, I know, sounds crazy, but it happens. For instance, while installing the heroku gem using the following command:
sudo gem install heroku
I got back this error on the command line:
ERROR: Error installing heroku:
invalid gem format for /Library/Ruby/Gems/1.8/cache/rest-client-0.8.2.gem
While opening up the rest-client-0.8.2.gem file in TextMate, I discovered it was completely blank. After I deleted the bogus rest-client-0.8.2.gem file and tried again, both the heroku and dependent rest-client gems were installed properly. My guess as to why this happened is because I typed in the system password (i.e. sudo command) incorrectly on my first attempt at installing the gem. Silly me for using complex passwords.
No comments yet.
Leave a comment
You must be logged in to post a comment.
Search
Categories
- Adventures
(105)
- Announcements
(36)
- Business
(19)
- Electronics
(28)
- Employment
(1)
- Epicurean
(10)
- Games
(3)
- Literature
(1)
- Mechanical
(4)
- Meetups
(18)
- Movies
(2)
- Music
(26)
- Photography
(1)
- Services
(29)
- Software
(136)