Bugs item #27216, was opened at 2009-09-30 11:18
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27216&group_id=126

Category: #gem and #require methods
Group: v1.3.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Vít Ondruch (voxik)
Assigned to: Nobody (None)
Summary: R1.9 require does not work when ENV['GEM_PATH'] specified

Initial Comment:
Hello,

I'm trying to modify GEM_PATH variable from ruby script. However, modification 
of GEM_PATH environment variable has no effect since rubygems/custom_require is 
not required for Ruby 1.9. What was the intention here?

Of course I can use Kernel.gem method which will populate $LOAD_PATH properly 
and then regular require works well, but is not consistent, since you don't 
have to do it for regular gem directories.

Cheers


Vit

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

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=27216&group_id=126
_______________________________________________
Rubygems-developers mailing list
http://rubyforge.org/projects/rubygems
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to