As a good programmer, you should be clear about the benefits of the Ruby on Rails development framework. Here we will introduce some tips for installing Ruby on Rails locally.
Many documents describe how to use the gem (one-click Ruby installer is already included, and you can use the gem after installation) for Remote Installation. If the network is poor, the installation will fail. I can see an article on the Internet that describes the local installation method. Now I will summarize the installation process for you.
Ruby on Rails local installation is first downloaded from the http://rubygems.org separately.
The following is a reference clip: Activesupport-1.4.2.gem Activerecord-1.15.3.gem Actionpack-1.13.3.gem Actionmailer-1.3.3.gem Actionwebservice-1.2.3.gem Rails-1.2.3.gem |
After Ruby on Rails is installed locally, all these files are placed in the same directory and run in sequence on the console.
The following is a reference clip: Gem install activesupport-1.4.2.gem Gem install activerecord-1.15.3.gem Gem install actionpack-1.13.3.gem Gem install actionmailer-1.3.3.gem Gem install actionwebservice-1.2.3.gem Gem install rails-1.2.3.gem |
Finally, all the prompts are displayed. After the local installation of Ruby on Rails is complete, enter the rails-V command to check that rails 1.2.3 is successfully installed.