Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gem.searcher deprecated in rubygems > 2.0 #7

Closed
buffym opened this issue Aug 8, 2013 · 4 comments
Closed

Gem.searcher deprecated in rubygems > 2.0 #7

buffym opened this issue Aug 8, 2013 · 4 comments
Labels

Comments

@buffym
Copy link

buffym commented Aug 8, 2013

You get an error when running the rake tasks when you have rubygems > 2.0 installed as they have deprecated Gem.searcher.

undefined method `searcher' for Gem:Module
/Users/buffy/.rvm/gems/ruby-1.9.3-p194/gems/turnout-0.2.3/lib/turnout/rake_tasks.rb:3:in `<top (required)>'
/Users/buffy/.rvm/gems/ruby-1.9.3-p194/gems/backports-3.1.1/lib/backports/tools.rb:328:in `require'
@adamcrown
Copy link
Collaborator

Thanks for letting me know @buffym. I'll try to get this fixed but I'm having a hard time reproducing this exactly. The Gem.searcher method should only need to be called in Ralis 2.3. Could you tell me what version or ruby, rubygems and rails you're running?

@buffym
Copy link
Author

buffym commented Aug 15, 2013

I'm using ruby 1.9.3, rails 3.2 and rubygems 2.0.6. As far as I can tell, the searcher call is being made regardless of the version of rails you are running. Thanks.

@cromwellryan
Copy link
Contributor

I noticed this issue and thought I'd see if I can replicate. I cannot in the following environment:

gem -v && rails -v && ruby -v
2.2.2
Rails 3.2.16
ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-darwin13.1.0]

@adamcrown
Copy link
Collaborator

This issue has obviously been open for a while and I haven't heard any other reports of it, or been able to reproduce it myself. So I'm going to close it. Let me know if it's still an issue for anybody.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants