Last active
March 6, 2018 02:36
-
-
Save nickcheng/420feca3d5e0178fdcdb98da99703415 to your computer and use it in GitHub Desktop.
Replicate gems to newly upgrade ruby version via Rbenv.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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