DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Debian Etch - Install Ruby 1.8.6 + Rubygems From Source + Add Tools
// debian etch - install ruby 1.8.6 + rubygems from source
//build essentials sudo aptitude install ssh gcc sudo build-essential make git-core subversion -y sudo aptitude install bash man-db cron wget lynx bind9 -y sudo aptitude install mysql-server mysql-client libmysqlclient15-dev libmysql-ruby sqlite3 imagemagick -y //now ruby 1.8.6 from source cd /usr/src wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p114.tar.gz tar xfz ruby-1.8.6-p114.tar.gz cd ruby-1.8.6-p114 ./configure --prefix=/usr/local sudo make sudo make install //now gems from source cd /usr/src wget http://rubyforge.org/frs/download.php/38646/rubygems-1.2.0.tgz tar xfz rubygems-1.2.0.tgz cd rubygems-1.2.0 sudo ruby setup.rb //update with sudo gem install rubygems-update sudo update_rubygems




