[Ironruby-core] Where is open-uri and why it does not work?

Jim Deville jdeville at microsoft.com
Mon Jun 22 11:57:42 EDT 2009


What does puts $: output in that situation? I'm wondering why you have "require 'libs/open-uri'" instead of "require 'open-uri'"

JD

...there is no try


> -----Original Message-----
> From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-
> bounces at rubyforge.org] On Behalf Of Mohammad Azam
> Sent: Monday, June 22, 2009 8:53 AM
> To: ironruby-core at rubyforge.org
> Subject: Re: [Ironruby-core] Where is open-uri and why it does not work?
>
> Nope it does not work:
>
> Here is the code:
>
> require 'libs/System.Windows.Forms'
> require 'libs/System.Drawing'
> require 'libs/open-uri'
>
> The libs folder contains uri.rb which is taken from
>
> C:\ironruby\ironruby\Merlin\External.LCA_RESTRICTED\Languages\Ruby\ru
> by-1.8.6p287\lib\ruby\1.8
>
> folder.
>
> And here is the error:
>
> C:\IronRubyProjects\IronRubyTaskListApplication>ir rss_reader_form.rb :0:in
> `require': no such file to load -- uri (LoadError)
>         from ./libs/open-uri.rb:1
>         from rss_reader_form.rb:3
>         from :0:in `require'
>
>
>
>
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list