for me the compiled binaries end up in:
C:\tools\ironruby\merlin\main\bin\debug
and this is how the relevant tag looks like in that ir.exe.config file
I know it’s lame but it works for me.
- C:\tools\ironruby
(master) » ir
IronRuby 0.5.0.0 on .NET 2.0.50727.4918
Copyright (c) Microsoft Corporation. All rights reserved.
require ‘open-uri’
=> true
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Here is the part of the ir.exe.config file.
<microsoft.scripting>
<options>
<set language="Ruby" option="LibraryPaths"
value="…\Languages\Ruby\libs;…\External.LCA_RESTRICTED\Languages\Ruby\redist-libs\ruby\site_ruby\1.8;…\External.LCA_RESTRICTED\Languages\Ruby\redist-libs\ruby\1.8"
/>
</microsoft.scripting>
Here is the complete ir.exe.config file:
<?xml version="1.0" encoding="utf-8" ?>
<microsoft.scripting>
<options>
<set language="Ruby" option="LibraryPaths"
value="…\Languages\Ruby\libs;…\External.LCA_RESTRICTED\Languages\Ruby\redist-libs\ruby\site_ruby\1.8;…\External.LCA_RESTRICTED\Languages\Ruby\redist-libs\ruby\1.8"
/>
</microsoft.scripting>
Usually, the one in
C:\ironruby\ironruby\Merlin\Main\Languages\Ruby\Libs
Contains hacks or workarounds to load the correct one from
C:\ironruby\ironruby\Merlin\External.LCA_RESTRICTED\Languages\Ruby\re
dist-libs\ruby\1.8
In other cases, the first one may simply load code from C#.
What does your ir.exe.config look like?
Thanks,
JD
…there is no try