Build RubyOnRails development environment under Fedora16

Source: Internet
Author: User
I recently started paying attention to RubyOnRails when I set up the RubyOnRails development environment under Fedora16. I spent one afternoon Learning about the Ruby language and the Rails framework. upgrade the development version. language features. I have read most of the materials to learn about RubyonRails's quick Web construction. however, these articles are not just satisfied. I would like to use the code example to experience RubyOnRails. features. 1. Install basic tools $

I recently started to focus On Ruby On Rails After I set up a Ruby On Rails development environment under Fedora 16. I spent one afternoon Learning about the Ruby language and the Rails framework. upgrade the development version. language features. I have read a lot of materials to learn about Ruby on Rails's quick Web construction. however, these articles are not just satisfied. I would like to use the encoding example to experience Ruby On Rails. features.

1. Install basic tools

$ Yum install git. i686

2. Database Installation

$ Yum install sqlite-devel.i686 mysql-devel.i686 mysql

3. Ruby Installation

$ Yum install ruby-devel.i686 ruby-mysql.i686 ruby-sqlite3.i686 ruby-ri.i686 ruby-irb.noarch ruby-rdoc.noarch

4. RubyGems Installation

RubyGems is the package management system for Ruby applications and libraries. Every application or library is a gem. RubyGems can easily manage the gem, such as installation and deletion.

$ Wget-q http://rubyforge.org/frs/download.php/75952/rubygems-1.8.21.tgz

$ Tar xvf rubygems-1.8.21.tgz

$ Rubygems-1.8.21 cd

$ Ruby setup. rb

5. Rails Web Application Framework

$ Gem install rails

6. Mongrel

Mongrel is an http server

$ Gem install mongrel mongrel_cluster

7. JSON

JSON is a lightweight data exchange format, which is somewhat similar to xml

$ Gem install json

8. SQLite3 Ruby

$ Gem install sqlite3-ruby

9. Ruby Mysql

$ Gem install mysql

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.