Remove the RUBYLIBS variable, and then change require 
'libs/System.Windows.Forms' to require 'System.Windows.Form'. Do the same for 
System.Drawing, then let me know how it goes. You shouldn't need to set any 
Ruby environment variables, since ir.exe.config should set everything up for 
you right now.

JD

...there is no try


> -----Original Message-----
> From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-
> boun...@rubyforge.org] On Behalf Of Mohammad Azam
> Sent: Monday, June 22, 2009 9:27 AM
> To: ironruby-core@rubyforge.org
> Subject: Re: [Ironruby-core] Where is open-uri and why it does not work?
>
> I have added the path to System Variables. The name of RUBYLIBS and the
> value is c:\ironruby\ironruby\Merlin\Main\bin\debug.
>
> Here is the code:
>
> require 'libs/System.Windows.Forms'
> require 'libs/System.Drawing'
> require 'open-uri'
>
> And still giving the same issues:
>
>
>
> C:\IronRubyProjects\IronRubyTaskListApplication>ir rss_reader_form.rb
>
> C:\IronRubyProjects\IronRubyTaskListApplication>ir rss_reader_form.rb :0:in
> `require': no such file to load -- open-uri (LoadError)
>         from rss_reader_form.rb:3
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core@rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to