Thursday, October 24, 2013

Copy gems from one server to another


First copy the gem list from the source box:
ssh account@sourcegembox 'gem list' > /tmp/gem-list

Now install the gems:
cat /tmp/gem-list | cut -d " " -f 1 | xargs sudo gem install


No comments:

Post a Comment