Skip to content

Instantly share code, notes, and snippets.

@shinofara
Created April 4, 2013 11:53
Show Gist options
  • Save shinofara/5309772 to your computer and use it in GitHub Desktop.
Save shinofara/5309772 to your computer and use it in GitHub Desktop.
LINUXにRuby 2.0を入れてみた。 ref: http://qiita.com/items/15393e3f086b690b60a1
cd /usr/local/src/
curl -O ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gz
tar zxvf ruby-2.0.0-p0.tar.gz
cd ruby-2.0.0-p0
./configure
sudo make
sudo make install
$ ruby -v
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]
$ sudo ln -s /usr/local/bin/gem /usr/bin/gem
$ sudo which gem
/usr/bin/gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment