Should I also remove ir.exe from System32?
I have set up the PATH variable in System Variables to
C:\ironruby\ironruby\Merlin\Main\bin\Debug
But now windows command prompt is not picking up the ir.exe file!
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
Finally I got it!
I closed the command prompt and ran it again and now everything is
working. Even the open-uri started working.
Thanks for all your help!
The PATH was a good solution to go
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
Glad that it worked
JD
…there is no try