Avatar Edgar González

  • Random
  • Archive
  • RSS

How to made rvm install rubygems 1.5.2 from rubygems.org instead of rubyforge

I’m experiencing some troubles when rvm try to install rubygems 1.5.2

The problem is because rvm try to install rubygems from rubyforge.org and I’m facing timeouts trying to reach the file.

If you run rvm debug you will see the current settings rvm is using, in my case:

$ rvm debug
...
rubygems_1.5.1_url=http://rubyforge.org/frs/download.php/74220
rubygems_1.5.2_url=http://rubyforge.org/frs/download.php/74234
rubygems_version=1.5.2
...

In order to instruct rvm to download rubygems from rubygems.org instead of rubyforge.org, just edit the file ~/.rvm/config/db and change the proper line:

...
rubygems_1.5.1_url=http://rubyforge.org/frs/download.php/74220
#rubygems_1.5.2_url=http://rubyforge.org/frs/download.php/74234
rubygems_1.5.2_url=http://production.cf.rubygems.org/rubygems
rubygems_version=1.5.2
...

Now when I run rvm install 1.9.2, rvm will install rubygems from rubygems.org

Another approach is download manually the file rubygems-1.5.2.tgz and save it in ~/.rvm/archives folder, then rvm will use this file and won’t download it again.

    • #rvm
    • #ruby
    • #rubygems
    • #rubyforge
  • 1 year ago
  • 1
  • Comments
  • Permalink
  • Share
    Tweet

1 Notes/ Hide

  1. edgar posted this

Recent comments

Blog comments powered by Disqus
← Previous • Next →

Portrait/Logo

About

When I'm not spending time with Jessica and my kids, I build web applications. Rails developer, believer of Agile Development and Lean startups. NoSQL enthusiast.
CTO and Lord of the API at Piictu

Me, Elsewhere

  • @edgar on Twitter
  • Facebook Profile
  • edgargonzaleznetve on Youtube
  • egg on Flickr
  • edgar on Foursquare
  • My Skype Info
  • Linkedin Profile
  • edgar on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr