"SourceIndex # everyone is out of date." How to fix?

When I run the Ruby on Rails program, I get a warning:

Note: Gem :: SourceIndex # each is deprecated without replacement. This will be deleted after or after 2011-11-01.

Gem :: SourceIndex #, each of which is called C: /Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb :. 123

NOTE. Gem :: SourceIndex # each deprecated without replacement. This will be deleted after or after 2011-11-01.

Gem :: SourceIndex #, each of which is called C: /Ruby187/lib/ruby/gems/1.8/gems/rails-2.3.11/lib/rails/vendor_gem_source_index.rb :. 124

How to establish this right and what does it mean?

I work in a Windows environment with the following configuration:

  • Ruby 1.8.7 [i386-mingw32]
  • Rails 2.3.11
  • gemstone 1.8.8
+6
source share
1 answer

The deprecation warning comes directly from Rails, as the reverse line notes. The purpose of the warning is to warn you of imminent changes (2011-11-01) in the Ruby Gem class that may affect your Rails application.

As a solution for your Rails 2.3.x application, you can:

+2
source

Source: https://habr.com/ru/post/895584/


All Articles