HostOnNet Blog

Installing Ruby Rails on Fedora

I wanted to try some ruby on rails code, so installed rails on Fedora test server

[root@linux ~]# yum search rails
===============================================
Matched: rails
 ===============================================
php-ezc-EventLog.noarch : Allows you to log events or audit trails
php-pear-Net-URL-Mapper.noarch : Simple and flexible way to build nice URLs for web applications
python-elixir.noarch : A declarative mapper for SQLAlchemy
python-pylons.noarch : Pylons web framework
python-routes.noarch : Rails-like routes for Python
python-webhelpers.noarch : Helper library for aiding the writing of web templates in Python
ruby-RMagick.i386 : Graphics Processing for Ruby and Ruby on Rails
ruby-activesupport.noarch : Utility classes and extension to Ruby's standard library
rubygem-actionmailer.noarch : Service layer for easy email delivery and testing
rubygem-actionpack.noarch : Web-flow and rendering framework putting the VC in MVC
rubygem-activerecord.noarch : Implements the ActiveRecord pattern for ORM
rubygem-activeresource.noarch : Active Record for web resources
rubygem-activesupport.noarch : Support and utility classes used by the Rails framework
rubygem-gruff.noarch : Beautiful graphs for one or multiple datasets
rubygem-mongrel.i386 : A small fast HTTP library and server for Ruby apps
rubygem-rails.noarch : Web-application framework
tracker.i386 : An object database, tag/metadata database, search tool and indexer
[root@linux ~]#

What we need to install is

rubygem-rails.noarch : Web-application framework

To install run

yum install rubygem-rails.noarch

After installing, check rails version by

[root@linux ~]# rails --version
Rails 2.1.1
[root@linux ~]#

Posted in Ruby On Rails