4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

rvm上のrubygemsのバージョンを変更する

Last updated at Posted at 2013-03-06

rvm上のrubygemsのバージョンを変更する

$ rvm rubygems 1.3.7 --force

Rails2系などの古いプロジェクトを使っていると、rubygemsが新しすぎてエラーが起きたり、おかしなことになったりすることがある。
(uninitialized constant ActiveSupport::Dependencies::Mutex とか)

上記のコマンドで結構簡単に変更できた。

問題のプロジェクトは互いに関係ないプロジェクトがいろいろなバージョンで動いているサーバーだった。

クラウドの良い点の一つは、環境ごと隔離できることだと実感した。

  • アップグレードもその検証も簡単
  • 引っ越しも楽
  • セキュリティも保証される
  • プロジェクト自体を保守しやすいレベルで長生きさせられる
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?