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

Ivan Porto Carrero ivan at flanders.co.nz
Wed Jun 17 13:28:09 EDT 2009


ok you also need the uri file
open-uri has a dependency on that file.

But still I think your search paths are messed up.
how does you config look like?
Where is ironruby located

did you pick a release or build from git?
---
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 7:25 PM, Mohammad Azam <lists at ruby-forum.com> wrote:

>
> 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/.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090617/a6ee224b/attachment.html>


More information about the Ironruby-core mailing list