gem updateを用いたRails 2.3.4のアップデート
Updating log of Rails 2.3.4 on Ubuntu 9.10:
$ dpkg -l rubygems1.8 ii rubygems1.8 1.3.5-1ubuntu2 package management framework for Ruby librar $ gem update Updating installed gems Updating actionmailer Successfully installed activesupport-2.3.4 Successfully installed actionpack-2.3.4 Successfully installed actionmailer-2.3.4 Updating activerecord Successfully installed activerecord-2.3.4 Updating activeresource Successfully installed activeresource-2.3.4 Updating htmlentities Successfully installed htmlentities-4.2.0 Updating rails Successfully installed rails-2.3.4 Updating rubyforge Successfully installed json_pure-1.1.9 Successfully installed rubyforge-2.0.3 Gems updated: activesupport, actionpack, actionmailer, activerecord, activeresource, htmlentities, rails, json_pure, rubyforge Installing ri documentation for activesupport-2.3.4... [...]
update_rubygems (rubygems-update) ?
Found update_rubygems command in rubygems-update gem package... never used this yet, it could be helpful gem updating on Debian/Ubuntu with deb-package installation of rubygems.
% sudo gem install rubygems-update % sudo update_rubygemsrubygems 1.3.5にupdateするにはまず1.3.1にする - かみぽわーる
In our machines, gem 1.3.5 had been already installed and this new technique is not to be used.
$ dpkg -l rubygems1.8 ii rubygems1.8 1.3.5-1ubuntu2 package management framework for Ruby librar