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'