Hey all, I was super excited when I found an IDE for ruby so I picked it right up. Been trying to get this working for a couple days now but to no avail.
I got the "all in one" package from the main site. Installed, all went well except one error from the .net 3.5 installer but I have .net installed and have reinstalled since starting the error checking process.
I'm running XP x64.
When I start a fresh project and hit Ruby Run I got this.
IronRuby.Libraries:0:in `Require': Could not load file or assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) (LoadError)
from IronRuby.Libraries:0:in `Require'
from :0:in `main'
from :0:in `Initialize##5'
from IronRuby.Libraries:0:in `Require'
from IronRuby.Libraries:0:in `Require'
from :0:in `main'
from :0:in `Initialize##2'
from IronRuby.Libraries:0:in `Require'
from IronRuby.Libraries:0:in `Require'
from Snippets:0:in `main'
from Snippets:0:in `Initialize'
And from Ruby command I got:
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- mscorlib (LoadError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./Form1.designer.rb:4
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from D:/Documents/Programming/Projects/IronRubyApplication3/IronRubyApplication3/Form1.rb:1
So I fetched a copy of mscorlib.dll from somewhere else on my computer and placed it in my project directory Now I get this on a Ruby Run
IronRuby.Libraries:0:in `Require': Absolute path information is required. (LoadError)
from IronRuby.Libraries:0:in `Require'
from :0:in `main'
from :0:in `Initialize##6'
from IronRuby.Libraries:0:in `Require'
from IronRuby.Libraries:0:in `Require'
from :0:in `main'
from :0:in `Initialize##2'
from IronRuby.Libraries:0:in `Require'
from IronRuby.Libraries:0:in `Require'
from Snippets:0:in `main'
from Snippets:0:in `Initialize'
And now my Ruby Command output reads:
./mscorlib.dll: 127: The specified procedure could not be found. - Init_msib (LoadError)
./mscorlib.dll from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.1:in `require'
from ./Form1.designer.rb:9
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inm_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:inquire'
from D:/Documents/Programming/Projects/IronRubyApplication1/IronRubyication1/Form1.rb:1
Any help would be greatly appreciated. Hope I gave enough information.
P.S. I tried two versions of mscorlib.
TLDR:
I am getting the errors:
IronRuby.Libraries:0:in `Require': Absolute path information is required. (LoadError)
and
./mscorlib.dll: 127: The specified procedure could not be found. - Init_msib (LoadError)
After I added mscorlib.