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.
First download them from rubyforge.net (the version may be updated during download)
- 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
Then place these files in the same directory and run them in the console in sequence.
- 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
After the installation is complete, enter the rails-V command to check that rails 1.2.3 is successfully installed.