Quantcast
Viewing all articles
Browse latest Browse all 10

Compiling and Installing Ruby and Rails on Ubuntu/Debian

The following will install the latest versions of Ruby, Rails and Mongrel on a Ubuntu machine: # sudo apt-get install build-essential libreadline5-dev zlib1g-dev libncurses5-dev # wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz (stable ruby) # wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.4.tgz # tar -xzf ruby-1.8.6.tar.gz # cd ruby-1.8.6 # vim ext/Setup Uncomment the entries for readline and zlib – save changes and exit # ./configure –prefix=/usr (we want to install in /usr/bin [...]

Viewing all articles
Browse latest Browse all 10

Trending Articles