Skip to content

Instantly share code, notes, and snippets.

@TheNicholasNick
Created January 7, 2009 00:41
Show Gist options
  • Save TheNicholasNick/44100 to your computer and use it in GitHub Desktop.
Save TheNicholasNick/44100 to your computer and use it in GitHub Desktop.
ruby-merb@localhost ~ $ cd _source/
ruby-merb@localhost ~/_source $ ls -l
total 4140
-rwxr-xr-x 1 ruby-merb ruby-merb 401 Jan 7 11:40 install_ruby
-rw-r--r-- 1 ruby-merb ruby-merb 3956902 Jan 7 11:36 ruby-1.8.6-p287.tar.bz2
-rw-r--r-- 1 ruby-merb ruby-merb 263748 Jan 7 11:37 rubygems-1.3.1.tgz
ruby-merb@localhost ~/_source $ cat install_ruby
export PATH=/home/ruby-merb/ruby/1.8.6-p287/bin:$PATH
export RUBYLIB=/home/ruby-merb/ruby/1.8.6-p287/lib
rm -Rf ~/ruby
rm -Rf rubygems-1.3.1 ruby-1.8.6-p287
tar -zxf rubygems-1.3.1.tgz
tar -jxf ruby-1.8.6-p287.tar.bz2
cd ruby-1.8.6-p287
./configure --prefix=/home/ruby-merb/ruby/1.8.6-p287
make && make install
cd ../rubygems-1.3.1
ruby setup.rb
gem sources -a http://gems.github.com
gem install thor
ruby-merb@localhost ~/_source $ ./install_ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment