[Rubygems-developers] Alternatives to deprecated Gem::cache.search
Pratik
pratiknaik at gmail.com
Sun Oct 19 17:05:23 EDT 2008
Hi all,
Rails currently uses deprecated "Gem::cache.search(/_generator$/)"
which is deprecated in rubygems 1.3.0. This causes a warning to be
thrown everytime "script/generate" is called. Could someone please
suggest an alternative that's backwards compatible ?
I came up with this patch
https://gist.github.com/99481e566e2a2d925651.txt after quickly going
through rubygems source. But I'm not sure if that's the best way to go
about it.
Any help/suggestions are greatly appreciated!
Thanks.
--
Cheers!
- Pratik
http://m.onkey.org
More information about the Rubygems-developers
mailing list