best practices for transfering ruby gems collection from one machine to another
问题 i want to copy all of my gems from one machine (foo) to another (bar). both machines are identical except that foo has a bunch of gems installed and bar does not (bar cannot get onto the internet). i copied /usr/local/lib/ruby/gems from foo to bar, and now bar recognizes that the gems are installed. root@bar # gem list *** LOCAL GEMS *** keybox (1.2.1) rake (0.9.2.2) ... and so on if i try to run them from their native location, they work as expected root@bar # cd /usr/local/lib/ruby/gems/1.8