Migrating Ruby Gems Between Ruby Versions

I found this quite handy after install ruby enterprise edition:

ree -S gem install /Library/Ruby/Gems/1.8/cache/*

Where ree is the ruby environment you want to copy your gems to and /Library/Ruby/Gems/1.8/cache/* is the path to your existing gems. Should also work for MacRuby and friends (assuming the gems will build on that environment anyways).

Leave a comment

Filed under Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s