[Rubygems-developers] Please test for a 1.3.1
Eric Hodel
drbrain at segment7.net
Tue Oct 21 16:10:21 EDT 2008
On Oct 20, 2008, at 20:25 PM, James M. Lawrence wrote:
> On Mon, Oct 20, 2008 at 9:37 PM, Eric Hodel <drbrain at segment7.net>
> wrote:
>> I will be including the current trunk on Thursday in Ruby for the
>> upcoming
>> 1.9.1. Shortly afterward I will release RubyGems 1.3.1.
>
> Would it be possible to apply this tiny patch to fix #20801
>
> % ruby -r rubygems -e 'p "foo".require("socket")'
> true
>
> That's just bad.
Sure.
> http://rubyforge.org/tracker/index.php?func=detail&aid=20801&group_id=126&atid=575
>
> Index: lib/rubygems.rb
> ===================================================================
> --- lib/rubygems.rb (revision 1904)
> +++ lib/rubygems.rb (working copy)
> @@ -49,6 +49,7 @@
> Gem.activate(gem_name, *version_requirements)
> end
>
> + private :gem
> end
>
> ##
> Index: lib/rubygems/custom_require.rb
> ===================================================================
> --- lib/rubygems/custom_require.rb (revision 1904)
> +++ lib/rubygems/custom_require.rb (working copy)
> @@ -34,5 +34,7 @@
> raise load_error
> end
> end
> +
> + private :require, :gem_original_require
> end # module Kernel
> _______________________________________________
> Rubygems-developers mailing list
> Rubygems-developers at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubygems-developers
More information about the Rubygems-developers
mailing list