Skip to content

Instantly share code, notes, and snippets.

@nickcheng
Last active March 6, 2018 02:36
Show Gist options
  • Save nickcheng/420feca3d5e0178fdcdb98da99703415 to your computer and use it in GitHub Desktop.
Save nickcheng/420feca3d5e0178fdcdb98da99703415 to your computer and use it in GitHub Desktop.
Replicate gems to newly upgrade ruby version via Rbenv.
rbenv shell 2.4.2
gem list | cut -d" " -f1 > my-gems
rbenv shell 2.5.0
gem in $(cat my-gems)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment