[Rubygems-developers] [ rubygems-Bugs-27700 ] unable to load gems *ever* if --disable-gems is passed [1.9]

noreply at rubyforge.org noreply at rubyforge.org
Thu Apr 22 11:56:42 EDT 2010


Bugs item #27700, was opened at 2010-01-19 04:37
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27700&group_id=126

Category: #gem and #require methods
Group: v1.3.x
Status: Closed
Resolution: Accepted
Priority: 3
Submitted By: Roger Pack (rogerdpack)
Assigned to: Eric Hodel (drbrain)
Summary: unable to load gems *ever* if --disable-gems is passed [1.9]

Initial Comment:
Appears that this file fails

require 'rubygems'
require 'os'

in 1.9
if you start Ruby with --disable-gems

This was surprising to me, because I assumed that doing a
require 'rubygems'
would "re-enable" rubygems.
Perhaps I am wrong?
Thanks.
-r

----------------------------------------------------------------------

>Comment By: Roger Pack (rogerdpack)
Date: 2010-04-22 15:56

Message:
sweet thanks

----------------------------------------------------------------------

Comment By: Eric Hodel (drbrain)
Date: 2010-04-22 04:33

Message:
Fixed, rubygems now loads custom_require when --disable-gems is set.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27700&group_id=126


More information about the Rubygems-developers mailing list