Installing Ruby on Rails on Fedora Core 5

转自:http://www.linuxweblog.com/ruby-on-rails-install

  1. Install ruby rpms via yum:
    # yum install ruby ruby-libs ruby-mode ruby-rdoc ruby-irb ruby-ri ruby-docs
    
  2. Download and install rubygems from rubygems.org.
    Change to the extracted directory and run:
    # ruby setup.rb
    
  3. Now use gem to install rails. It will ask about installing dependencies. Answer "Y" or just hit return.
    # gem install rails
    
  4. Test it by creating a skeleton rails app in your home directory:
    $ cd ~
    $ rails testapp
    
  5. Start the WEBrick server.
    $ cd ~/testapp
    $ ruby script/server
    

    The WEBrick server should now be started and listening to the default port - 3000 .
    Point your browser to:

    http://localhost:3000/
    

    You should see a welcome page with some additional getting started info.

http://www.technetra.com/2009/04/22/howto-setting-up-ruby-on-rails-for-fedora-10-and-11/

http://rubygems.org/pages/download



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值