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

Mohammad Azam lists at ruby-forum.com
Wed Jun 17 13:25:46 EDT 2009


I tried with the path and got the following error:

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

C:\IronRubyProjects\IronRubyTaskListApplication>ir main_form.rb
:0:in `require': no such file to load -- uri (LoadError)
        from ./libs/open-uri.rb:1
        from main_form.rb:4
        from :0:in `require'


Ivan Porto carrero wrote:
> what version of ironruby are you using?it looks like your search paths 
> are
> messed up.
> 
> for example does require File.dirname(__FILE__) + '/libs/open-uri' work?
> 
> ---
> 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)

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


More information about the Ironruby-core mailing list