Jochen Kaechelin
2008-Oct-04 18:26 UTC
What''s causing "support for RegExp patterns is deprecated" error?
railer:sphinx railer$ script/generate scaffold Dummy
Gem::SourceIndex#search support for Regexp patterns is deprecated
/Library/Ruby/Gems/1.8/gems/rails-2.1.1/lib/rails_generator/lookup.rb:
211:in `each'' is outdated
exists app/models/
exists app/controllers/
...
-------------------------------------
MAC OS X 10.5.5
1.8.6
railer:sphinx railer$ gem -v
1.3.0
railer:sphinx railer$ rails -v
Rails 2.1.1
railer:sphinx railer$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.0
- RUBY VERSION: (2008-03-03 patchlevel 114) [universal-darwin9.0]
- INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
- RUBY EXECUTABLE: /System/Library/Frameworks/Ruby.framework/
Versions/1.8/usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- ruby
- universal-darwin-9
- GEM PATHS:
- /Library/Ruby/Gems/1.8
- /Users/railer/.gem/ruby/1.8
- /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/gems/1.8
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- :sources => ["http://gems.rubyforge.org/",
"http://gems.github.com
"]
- REMOTE SOURCES:
- http://gems.rubyforge.org/
- http://gems.github.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2008-Oct-04 21:56 UTC
Re: What''s causing "support for RegExp patterns is deprecated" error?
On 4 Oct 2008, at 19:26, Jochen Kaechelin wrote:> > railer:sphinx railer$ script/generate scaffold Dummy > Gem::SourceIndex#search support for Regexp patterns is deprecated > /Library/Ruby/Gems/1.8/gems/rails-2.1.1/lib/rails_generator/lookup.rb: > 211:in `each'' is outdated > exists app/models/ > exists app/controllers/ >rubygems 1.3 is brand new, sounds like they''ve deprecated something that current versions of rails use. It''s not an error, it''s a warning that future versions of rubygems won''t support this (and that rails should be fixed accordingly) Fred>--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---