Pages

How to set up ( Fedora php ruby on rails )

Friday, October 2, 2009

Installing Ruby On Rails on Fedora 11 12

How to install Ruby On Rails on Fedora 11 12 . . . .


Installation of ruby on rails on fedora was never easy before and this type installing ruby on rails on fedora is one step task . In Past installing ruby on rails was just a mess have to issue lots of commands now just one command and every thing is setup and rails is ready to go on than.
and best thing about this type of installation is about mysql binding which also get install without any error


Installing ruby on rails along with mysql


[ismail@localhost ~]$ sudo yum install rubygem-rails ruby-mysql

Thats it ruby on rails is ready to go


Optional installtions


Installing sqlite3 for ruby on rails


[ismail@localhost test]$ sudo yum install rubygem-sqlite3-ruby

Installing mongrel server for rails


[ismail@localhost test]$ sudo yum install rubygem-mongrel*

Installing json for rails


[ismail@localhost ~]$ sudo yum install rubygem-json

Installing git for rails


[ismail@localhost test]$ sudo yum install rubygem-git

IF some thing is missing you want to install about rails do comment

4 comments:

  1. /usr/bin/ruby extconf.rb install passenger
    can't find header files for ruby.

    Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5 for inspection.
    Results logged to /usr/lib/ruby/gems/1.8/gems/passenger-2.2.5/ext/phusion_passenger/gem_make.out

    how to resolve this problem

    ReplyDelete
  2. install ruby-devel using following command

    sudo yum install ruby-devel




    Now install gem packages like


    sudo gem install passenger

    ReplyDelete
  3. It is nice blog Thank you provide important information and i am searching for same information to save my timeRuby on Rails Online Training Hyderabad

    ReplyDelete