Relevant discussion: https://github.com/wayneeseguin/rvm/commit/81b9dfa5002eb900405b0e6a2b5088d959cd7cbb#commitcomment-337167
So, if you updated RVM (with rvm get head && rvm reload) more than a couple of days ago you'll be using rubygems-1.4.2 Re-run rvm get head && rvm reload, reinstall, and you should be fine. Note that just because rubygems didn't install doesn't mean that ruby-1.9.2 didn't. You can still do: rvm use ruby-1.9.2 rvm rubygems 1.7.2 On Fri, Apr 15, 2011 at 12:04 AM, Michael Pearson <mipear...@gmail.com>wrote: > In the logs: > > "/Users/ric/.rvm/src/rubygems-1.4.2/setup.rb"', > > It's still using rubygems-1.4.2 > > wayneeseguin, for some bloody annoying reason, rolled back the RVM default > rubygems to 1.4.2 for a couple of days until we all shouted at him on github > and IRC. > > When did you update RVM? It should be back to 1.7.2 now. > > On Thu, Apr 14, 2011 at 11:28 PM, Ricardo <ricardocarba...@gmail.com>wrote: > >> Hi guys. Thank you very much for both replays. >> >> I did all the things you recommend me to do but I'm still having the >> same error: >> >> $ rvm -v >> rvm 1.6.1 by Wayne E. Seguin (wayneeseg...@gmail.com) [https:// >> rvm.beginrescueend.com/] >> >> $ ruby -v >> ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] >> >> $ gem -v >> 1.7.2 >> >> >> If I try to install ruby 1.9.2 I get the following: >> >> $ sudo rvm install 1.9.2 >> Installing Ruby from source to: /Users/ric/.rvm/rubies/ruby-1.9.2- >> p180, this may take a while depending on your cpu(s)... >> >> ruby-1.9.2-p180 - #fetching >> ruby-1.9.2-p180 - #extracted to /Users/ric/.rvm/src/ruby-1.9.2-p180 >> (already extracted) >> ruby-1.9.2-p180 - #configuring >> ruby-1.9.2-p180 - #compiling >> ruby-1.9.2-p180 - #installing >> Removing old Rubygems files... >> Installing rubygems dedicated to ruby-1.9.2-p180... >> Installing rubygems for /Users/ric/.rvm/rubies/ruby-1.9.2-p180/bin/ >> ruby >> ERROR: Error running 'GEM_PATH="/Users/ric/.rvm/gems/ruby-1.9.2-p180:/ >> Users/ric/.rvm/gems/ruby-1.9.2-p180@global:/Users/ric/.rvm/gems/ >> ruby-1.9.2-p180@global" GEM_HOME="/Users/ric/.rvm/gems/ruby-1.9.2- >> p180" "/Users/ric/.rvm/rubies/ruby-1.9.2-p180/bin/ruby" "/Users/ >> ric/.rvm/src/rubygems-1.4.2/setup.rb"', please read /Users/ric/.rvm/ >> log/ruby-1.9.2-p180/rubygems.install.log >> WARN: Installation of rubygems did not complete successfully. >> ruby-1.9.2-p180 - adjusting #shebangs for (gem irb erb ri rdoc testrb >> rake). >> ruby-1.9.2-p180 - #importing default gemsets (/Users/ric/.rvm/ >> gemsets/) >> >> I believe this is a folder permission issue. If this is true, do you >> guys know wich folder and what type of permission/ownership I have to >> change? >> >> Once again thanks a lot. >> >> >> >> On Apr 10, 6:40 pm, Ben Hoskings <b...@hoskings.net> wrote: >> > On Sunday, 10 April 2011 at 5:58 PM, Ivan Vanderbyl wrote: >> > >> > It looks like it may be a problem with Rubygems 1.4.2 which I recall was >> not compatible with Ruby 1.9.2, try updating to the latest rubygems 1.7.2 >> (gem update --system) and try installing ruby 1.9.2 again. >> > Yep, I'd say that's the problem (gem 1.4.x had issues on ruby1.9.x, >> iirc). If you're using rvm, it's probably installing an older version of >> rubygems because it's out of date. You can update it with: >> > >> > $ rvm get head >> > $ rvm reload >> > >> > Then install and switch to 1.9.2: >> > >> > $ rvm install 1.9.2 >> > $ rvm 1.9.2 --default >> > >> > —Ben >> >> -- >> 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 rails-oceania@googlegroups.com. >> To unsubscribe from this group, send email to >> rails-oceania+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/rails-oceania?hl=en. >> >> > > > -- > Michael Pearson > The Bon Scotts; http://www.thebonscotts.com > > -- Michael Pearson The Bon Scotts; http://www.thebonscotts.com -- 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 rails-oceania@googlegroups.com. To unsubscribe from this group, send email to rails-oceania+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.