Hi Tim,

Rubygems is working fine for me at the moment:

79:~$ which gem
/Users/chrisberkhout/.rvm/rubies/ruby-1.9.2-p290/bin/gem
79:~$ gem install bundler
Fetching: bundler-1.0.18.gem (100%)
Successfully installed bundler-1.0.18
1 gem installed
79:~$

It may be that your gem cache is corrupted.

Take a look at:
http://www.tweetegy.com/2011/04/installing-rails-gem-fails-with-undefined-method-spec-for-nilnilclass-error/

Cheers,
Chris


On Sun, Sep 11, 2011 at 8:32 AM, Tim Uckun <[email protected]> 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
>
> When I attempt to run bundler I get this one.
>
> Fetching source index for http://rubygems.org/
>
> /home/tim/.rvm/gems/ree-1.8.7-2011.03/gems/bundler-1.0.18/lib/bundler/rubygems_integration.rb:100:in
> `spec_from_gem': undefined method `spec' for nil:NilClass
> (NoMethodError)
>
>
> Since gems doesn't work I tried to upgrade rubygems by hand but my
> manual download from rubygems was corrupted.
>
> Is something weird happening at rubygems?
>
> --
> 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.
>
>

-- 
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.

Reply via email to