SUBSCRIBE CSE TECHNICAL FORUM UPDATES CLICK HERE

Wednesday, August 10, 2011

Installing Ruby & Rubu on Rails

Installing Ruby on Rails on Ubuntu 10.04

It’s quite simple. Run these commands in terminal and you are set. The first command is for installing Ruby on Rails while the last ones are for installing the MySQL gem in order to use MySQL. This assumes you have MySQL as Benson pointed out.
  1. sudo apt-get install build-essential rails
  2. sudo apt-get install rubygems ruby-dev libmysql-ruby libmysqlclient-dev
  3. sudo gem install mysql
or

Step 1: Download

Step 2: Install

Extract it:
tar xzvf ruby-enterprise-X.X.X.tar.gz
Run the installer (completely safe, none of your system files will be touched!):
./ruby-enterprise-X.X.X/installer

Step 3: Make Phusion Passenger use Ruby Enterprise Edition instead of regular Ruby

Follow the instructions that the Ruby Enterprise Edition installer gave you.

Learn Ruby in 20min.

1 comment: