Thursday, September 25, 2008

Installing Rails

If you don't have an Internet connection or your company blocks some ports to downloads gems, you'll need to download each gem to your HDD first and then install them locally.

This procedure is explaines here, but in a short version, do the following:

1) Activesupport from: http://rubyforge.org/projects/activesupport/
2) ActionPack from http://rubyforge.org/projects/actionpack/
3) Actionmailer from http://rubyforge.org/projects/actionmailer/
4) Activerecord from http://rubyforge.org/projects/activerecord/
5) Activeresource from http://rubyforge.org/projects/activeresource/
6) Actionwebservice from http://rubyforge.org/projects/aws/
7) Rake from http://rubyforge.org/projects/rake/
8) Rails from http://rubyforge.org/projects/rails/

Then go to the directory where all this files are, and install them in the same order with:
c:\> gem install gemname

After installing rails you might probably install some other packages that I personally use a lot:
gem install mongrel
gem install postgres-pr

No comments: