Subscribed unsubscribe Subscribe Subscribe

ayucat.ch 2015-16

id:ayucatのぶろぐ (Nexus 5 (2015) / iPhone 6s / Galaxy S6 edge / iOS 9 / Ubuntu Trusty / Android 6.0 Marshmallow / Thunderbird / AWS / クラブ / 祭り / 花火 / 海 / 野外フェス)

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_rubygems
rubygems 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