Install the latest Rails2.0 in Ubuntu7.10

Source: Internet
Author: User
The new rails2.0 is finally released, and the apt version of rails 1.2.4 on Ubuntu7.10 (GutsyGibbon) is still available. Therefore, if you want to experience the 2.0 version, you have to manually install Rails. RubyonRails (RoR) has become the most popular Web development technology today. With RoR, you can easily and quickly create powerful Web applications! The Rails framework is written in Ruby, so all Rails Applications are Ruby programs.

The new rails 2.0 is finally released, while the rails version 1.2.4 obtained by apt on Ubuntu 7.10 (Gutsy Gibbon) is still 1.2.4. To experience Rails 2.0, You have to install rails manually. Ruby on Rails (RoR) has become the most popular Web development technology today. With RoR, you can easily and quickly create powerful Web applications! The Rails framework itself is written in Ruby, so all Rails Applications are Ruby programs. This means that to exert all the power of Rails, you must first thoroughly master the Ruby language. The method for installing Rails 7.10 In Ubuntu 2.0 is simple. The installation steps are as follows:

(1) install Ruby

Sudo apt-get install ruby rdoc irb libyaml-ruby libzlib-ruby ri

(2) install RubyGems

Sudo apt-get install rubygems sudo gem update -- system

(3) install Rails

Sudo gem install rails-y

In this way, Rails 2.0 is installed. It should be noted that gem update must be done, otherwise there may be problems.

If:

Uninitialized constant Gem: GemRunner (NameError)

Edit/usr/bin/gem and add require 'rubygems/gem_runner'

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.