Install Ruby on Rails on Fedora

0
Your rating: None

Here are quick step to install ruby on rails on fedora.

1. First you need to install ruby rpms via yum:

# yum install ruby ruby-libs ruby-mode ruby-rdoc ruby-irb ruby-ri ruby-docs

2. Download rubygems from rubygems.org. Change to the extracted directory and run:

# ruby setup.rb

3.You can hence use gem to install rails. It may ask about installing dependencies. Answer "Y" or just hit return.

# gem install rails

4.Just test it by creating a skeleton rails app in home directory:

$ cd ~
$ rails apptest

5. Start the WEBrick server.

$ cd ~/apptest
$ ruby script/server

The WEBrick server will get started and listening to the default port - 3000 .

6. Point your browser to:

http://localhost:3000/

A welcome page get displayed with some additional info for getting started.

congrualation you have ruby on rails installed on Fedora now.

ENJOY!!!

Cumulus Tag Cloud

Kiran Says

I love work environment which is:

Informal yet professional
Demanding yet rewarding
Challenging yet inspiring
Mediocrity is not an option
Having fun is serious business
Making mistakes is human
Forgiveness is Company Policy

Travelling Sucks