[Ironruby-core] Accessing open-uri from the same directory

Mohammad Azam lists at ruby-forum.com
Tue Jun 16 17:46:03 EDT 2009


I am have placed open-uri in the same directory as my application and I
am trying to include open-uri in my application using the require

require File.dirname(__FILE__) + '/open-uri'

It throws the following error:

C:\ironruby\ironruby\Merlin\Main\Languages\Ruby\Libs>ir test.rb
:0:in `require': no such file to load -- uri (LoadError)
        from ./open-uri.rb:1
        from test.rb:4
        from :0:in `require'

Posted via http://www.ruby-forum.com/.

More information about the Ironruby-core mailing list