Update to Rails 2.1.0 in a Fedora LInux VPS with 256MB
When trying to run: gem update or gem install rails
[root@pinto ruby]# gem update
Updating installed gems
Bulk updating Gem source index for: http://gems.rubyforge.org/
http://gems.rubyforge.org/http://gems.rubyforge.org/Updating
actionmailer
Killed
#########################################
I install locally !!!
1.- Download the required gems.
$ wget http://rubyforge.org/frs/download.php/37768/rails-2.1.0.gem
$ wget
http://gems.rubyforge.vm.bytemark.co.uk/gems/actionmailer-2.1.0.gem
$ wget http://gems.rubyforge.vm.bytemark.co.uk/gems/actionpack-2.1.0.gem
$ wget
http://gems.rubyforge.vm.bytemark.co.uk/gems/activerecord-2.1.0.gem
$ wget
http://gems.rubyforge.vm.bytemark.co.uk/gems/activeresource-2.1.0.gem
$ wget
http://gems.rubyforge.vm.bytemark.co.uk/gems/activesupport-2.1.0.gem
[root@fedora ruby]# ls 2.gem
actionmailer-2.1.0.gem activeresource-2.1.0.gem
gem_plugin-0.2.3.gem
actionpack-2.1.0.gem activesupport-2.1.0.gem
rails-2.1.0.gem
activerecord-2.1.0.gem cgi_multipart_eof_fix-2.5.0.gem
[root@fedora ruby]#
2.- The paths don’t play really nice even if you run from the current
path where the files are located =(
[root@fedora ruby]# gem install ./rails-2.1.0.gem
Bulk updating Gem source index for: http://gems.rubyforge.org/
Killed
[root@fedora ruby]# gem install rails
Bulk updating Gem source index for: http://gems.rubyforge.org/
Killed
[root@fedora ruby]# gem install rails-2.1
Bulk updating Gem source index for: http://gems.rubyforge.org/
Killed
2b.- The power user way make sure you include --local in the
Installation Directives !!! =)
[root@fedora ruby]# gem install ./rails-2.1.0.gem --local
Successfully installed activesupport-2.1.0
Successfully installed activerecord-2.1.0
Successfully installed actionpack-2.1.0
Successfully installed actionmailer-2.1.0
Successfully installed activeresource-2.1.0
Successfully installed rails-2.1.0
6 gems installed
Installing ri documentation for activesupport-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 activesupport-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…
[root@fedora ruby]#
I hope this save some time trying to get the upgrade in low memory
VPS. All my other machines worked just great !!!.
Best Regards Dinooz.