Mirror Ruby Gems Locally

Recipe # | posted in Faq, Howto, Linux, Ruby/Rails | Comments

Update 2: Git clone a new repo of rubygems-mirror which solves the problem by making a full rubygems.org copy, avoiding the gem generate_index command!! [3]

git clone https://github.com/huacnlee/rubygems-mirror

Update 1: Don’t update to the latest ruby/gem 1.9.3-p194/1.8.23, since there is an issue – generate_index gets a SystemStackError. Use ruby/gem 1.9.2-p290/1.6.2

1 – Problem Description

Clone http://rubygems.org/ gems and use that mirror inside an intranet without internet connection.

2 – Solution

Visit our new Ruby on Rails specific mirror ruby gems locally