Gem:Moduleの未定義のメソッド `source_index '(NoMethodError)
Rails 2.3.5アプリケーションを実行しています。スクリプト/サーバーを実行すると、次のように表示されます。 ./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21:in `add_frozen_gem_path': undefined method `source_index' for Gem:Module (NoMethodError) from ./script/../config/boot.rb:60:in `load_initializer' from ./script/../config/boot.rb:44:in `run' from ./script/../config/boot.rb:17:in `boot!' from ./script/../config/boot.rb:123 from script/server:2:in `require' from script/server:2 boot.rb(Rails :: GemDependency.add_frozen_gem_path)の60行目をコメントアウトしてスクリプト/サーバーを実行すると、次のようになります。 => Booting WEBrick => Rails 2.3.5 application starting on http://0.0.0.0:3000 ./script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21:in `add_frozen_gem_path': undefined method `source_index' for Gem:Module (NoMethodError) from ./script/../config/../vendor/rails/railties/lib/initializer.rb:298:in `add_gem_load_paths' …