Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby gems installation error

When I am trying to install a gem or run anything with gem command, I see this warning,

Error loading RubyGems plugin "/Users/ender/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-0.9.0/lib/rubygems_plugin.rb": undefined method `first' for #<String:0x007ffedc0964f0> (NoMethodError)

I searched it but I could not find anything out.

What is the problem and how can I fix it?

Note: I cannot install any gems.

Thanks.

like image 888
eayurt Avatar asked Oct 09 '12 20:10

eayurt


1 Answers

Try removing the /Users/ender/.rvm/gems/ruby-1.9.3-p194@global/gems/rubygems-bundler-0.9.0 directory. There seems to be a problem with this gem.

like image 55
Ryan Bigg Avatar answered Oct 05 '22 14:10

Ryan Bigg