it can be useful when you want to deploy your application to systems where you don't know if ironruby is installed etc. I'm doing the same for an ironrubymvc application. I still have to find a nicer solution to that maybe by reusing the ironruby configuration to make those paths configurable. --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero)
On Wed, Jun 17, 2009 at 6:11 AM, Shay Friedman <[email protected]> wrote: > Hi Mohammad, > > It happens because open-uri tries to load the uri library and it fails > to find it. > > I couldn't reproduce this behavior on my end... > The uri library should be located at > > <path_to_merlin>\External.LCA_RESTRICTED\Languages\Ruby\redist-libs\ruby\1.8\uri.rb > Is there a chance you're changing the $LOAD_PATH array? > > By the way, why would you want to copy the open-uri lib to your > application directory? The standard library folder is a part of the file > lookup paths, so no matter where your application is installed to, the > standard libraries (like open-uri) will still be available. > > Shay. > ---------------------------- > Shay Friedman > http://www.ironshay.com > Follow me: http://twitter.com/ironshay > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/ironruby-core >
_______________________________________________ Ironruby-core mailing list [email protected] http://rubyforge.org/mailman/listinfo/ironruby-core
