On Sun, Sep 11, 2011 at 12:32:57PM +1200, Tim Uckun wrote: > I seem to be having a lot of problems installing gems all of a sudden. > At first I thought it was my system but now I am starting to think the > problem is with rubygems. > > Every time I try to install a gem I get this error. > > gem install bundler > Fetching: bundler-1.0.18.gem ( 13B) > ERROR: While executing gem ... (NoMethodError) > undefined method `spec' for nil:NilClass
Are you by any chance connecting through Telecom? We've just moved into a new office and were sharing an internet connection with one of the neighbours while we were waiting to get connected. Said neighbour's connection is provided by Telecom. I was getting the exact same error when trying to do anything gem related. After a lot of f*dging around I discovered that instead of getting gem files I was getting empty HTML documents, '<HTML></HTML>'. It seems Telecom have a transparent HTTP proxy which was causing this. If it is the same problem, you'll find these empty HTML files in your gem cache directories. Malc -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
