Ruby on Rails Installation Complete tutorial (1/3)

Source: Internet
Author: User
Tags documentation ruby on rails

1) Install Ruby

      Download installation package:http://rubyforge.org/frs/?group_id=167, I downloaded the Rubyinstaller-1.8.7-p302.exe

      After loading, you can use RUBY-V test whether the installation is successful, such as figure, if a version of the installation is successful

2) Installation RubyGems

RubyGems is a Ruby Package Manager tool that makes the installation of Ruby packages simple, requires only one command to download the appropriate packages from a remote server, and if the corresponding application contains additional extensions, RubyGems will also prompt you to rely on the extensions from the remote installation. After installation RubyGems will run the appropriate program to generate the RDoc help document (similar to Javadoc). is now the de facto Package manager standard for Ruby.

Download Address:http://rubyforge.org/projects/rubygems/,

I downloaded the rubygems-1.3.7, after the implementation of the directory SETUP.RB, after the installation is completed, check with the following command:

Gem–v

3. Install Rails

A Remote Installation: Gem install Rails–remote

The following from the online instructions I did not use this way to install, because my home network speed is too slow.

Then automatically outputs: 
Install required dependency ActiveRecord?
Install required dependency Actionpack?
Install required dependency Actionmailer?
Install required dependency Activeresource? The
Yes-dependent files in turn and then display:
Successfully installed rails-2.1.0
successfully installed activerecord-2.1.0
SUCCESSF Ully installed actionpack-2.1.0
successfully installed actionmailer-2.1.0
successfully installed activeresource-2.1.0
Installing RI documentation for activerecord-2.1.0 ...
Installing RI documentation for actionpack-2.1.0 ...
Installing RI documentation for actionmailer-2.1.0 ...
Installing RI documentation for activeresource-2.1.0 ...
Installing RDOC documentation for activerecord-2.1.0 ...
Installing RDOC documentation for actionpack-2.1.0 ...
Installing RDOC documentation for actionmailer-2.1.0 ...
Installing RDOC documentation for activeresource-2.1.0 ...
Look at version: Rails-v
Output: Rails 2.1.0
Fix

Home 1 2 3 last
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.