[Ironruby-core] ERB
Tomas Matousek
Tomas.Matousek at microsoft.com
Fri Jan 30 03:48:24 EST 2009
Yes. Something like this should do:
var engine = IronRuby.Ruby.CreateEngine((setup) => { setup.Options["LibraryPaths"] = "..." });
engine.Execute(code);
Tomas
-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Thibaut Barrère
Sent: Friday, January 30, 2009 12:12 AM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] ERB
Hello,
> There should be a line in ir.exe.config that says something like:
>
> <set language="Ruby" option="LibraryPaths" value="..\..\Languages\Ruby\libs\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\1.8\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\site_ruby\;..\..\..\External\Languages\Ruby\ruby-1.8.6\lib\ruby\1.8\" />
>
> These paths need to point to your MRI installation.
just curious (ie. I don't need this yet): is there currently a way to
set this programmatically, maybe while instantiating the IronRuby host
?
-- Thibaut
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core
More information about the Ironruby-core
mailing list