守破離でいこう! -Let's go with SyuHaRi!-

2008/07/17

Rails 2.1.0 をインストールしてみる

久しぶりに、Railsの環境を更新しようと下記のコマンドこ実行すると、エラーがでました。
やはり、すんなりといきませんねぇ~。

> gem update --system
> gem update rails
Updating installed gems
Updating rails
ERROR:  While executing gem ... (Gem::InstallError)
 invalid gem format for c:/ruby/lib/ruby/gems/1.8/cache/activesupport-2.1.0.gem

いろいろ調べてみると、activesupportを手動でインストールすることで解決できるようです。

http://rubyforge.org/projects/activesupport/

Download gem to a local file, then

sudo gem install --local activesupport-2.1.0.gem

All fixed.

参考:Riding Rails: Rails 2.1: Time zones, dirty, caching, gem dependencies, caching, etc

ラベル:

naoki 20:43
HaloScan: |

0 Comments:

Add a comment