Redmine 1.3を実行しようとすると大量のGem関係のエラーが表示される

2012-02-09 19:58 | tag: (none)

Redmine 1.3を実行しようとして以下のように大量の警告が表示されるのは、RubyGemのバージョンが新しすぎるのが原因。

$ ruby script/server
=> Booting WEBrick
=> Rails 2.3.14 application starting on http://0.0.0.0:3000
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/maeda/.rvm/gems/ruby-1.8.7-p352/gems/rails-2.3.14/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#initialize called from /Users/maeda/.rvm/gems/ruby-1.8.7-p352/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:100.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /Users/maeda/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01.
Gem::SourceIndex#add_spec called from /Users/maeda/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:91.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/maeda/.rvm/gems/ruby-1.8.7-p352/gems/rails-2.3.14/lib/rails/gem_dependency.rb:78.
NOTE: Gem::SourceIndex#each is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#each called from /Users/maeda/.rvm/gems/ruby-1.8.7-p352/gems/rails-2.3.14/lib/rails/vendor_gem_source_index.rb:123.
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
・
・
・

RubyGemsをダウングレードすればよい。

gem update --system 1.6.2

関連情報