Created
January 18, 2013 17:11
-
-
Save bryanbibat/4566200 to your computer and use it in GitHub Desktop.
Upgrading Ruby cheatsheet (*nix)
This file contains 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
RVM | |
$ rvm get head | |
$ rvm upgrade 1.9.3-p362 1.9.3-p374 | |
(if it's not downloading binaries, using an rvm_make_flags like "-j3" can speed things up. see https://rvm.io/workflow/rvmrc/) | |
rbenv with ruby-build | |
$ cd ~/.rbenv/plugins/ruby-build | |
$ git pull | |
$ rbenv install 1.9.3-p374 MAKE_OPTS="-j3" | |
$ rbenv rehash | |
then update all your ".ruby-version"s and install/run bundler | |
ruby from source | |
$ wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p374.tar.bz2 | |
$ tar -jxvf ruby-1.9.3-p374.tar.bz2 | |
$ cd ruby-1.9.3-p374 | |
$ ./configure --enable-shared --disable-install-doc | |
$ make -j3 | |
$ sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment