From: Jon B. <jo...@gm...> - 2007-07-10 12:57:50
|
Usually it's whatever comes first in a require call ... [MacBook-Pro:~]$ ruby -e '$:[0] = "/my/new/path/for/rexml/"; puts $:' /my/new/path/for/rexml/ /opt/local/lib/ruby/site_ruby/1.8/i686-darwin8.9.4 /opt/local/lib/ruby/site_ruby /opt/local/lib/ruby/vendor_ruby/1.8 /opt/local/lib/ruby/vendor_ruby/1.8/i686-darwin8.9.4 /opt/local/lib/ruby/vendor_ruby /opt/local/lib/ruby/1.8 /opt/local/lib/ruby/1.8/i686-darwin8.9.4 . I bet that would work. - Jon On Jul 10, 2007, at 8:41 AM, Tim Perrett wrote: > Hey Eloy / Jon > > REXML is part of the standard lib in ruby though - im not sure how > you could override that? > > Slingshot are using somthing called "libruby-static.a" - any ideas > what this is? Locomotive also has a self contained ruby environment, > but from what I can tell the slingshot implementation is more > elegant. Is the libruby-static.a some kind of all in one binary of > ruby? They still have the 1.8, site_ruby and gems folders as you > would usually have... > > Cheers > |