[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jim Deville
> Sent: Friday, January 15, 2010 10:15 PM
> To: ironruby-core@rubyforge.org
> Subject: Re: [Ironruby-core] rexml/document with IronRuby
>
> I don't remember the exact command, but there is a method... SetupSe
var scriptingRuntime = IronRuby.Ruby.CreateRuntime();
var engine = scriptingRuntime.GetEngine("rb");
var operations = engine.CreateOperations();
var paths = new List();
paths.Add(@"C:\ironruby\ironruby\Merlin\Main\Languages\Ruby\Libs");
crosoft.com/en-us/library/system.configuration.configurationmanager.aspx
API.
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Orion Edwards
Sent: Friday, January 15, 2010 9:47 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] rexml/docume
...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jim Deville
Sent: Friday, January 15, 2010 10:15 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] rexml/document with IronRuby
I don't remember the exact command, but there is a method... SetupSearchPath or
something
You can change all that from code as well.
ScriptRuntimeSetup is what you're interested in
http://github.com/casualjim/ironrubymvc/blob/master/IronRubyMvc/Core/RubyEngine.cs#L412
You can add load paths too from C#
http://github.com/casualjim/ironrubymvc/blob/master/IronRubyMvc/Core/RubyEngine.cs#L
ubject: Re: [Ironruby-core] rexml/document with IronRuby
While I agree that changing the app.config is a common task, and it's easy if
you're just shipping a single standalone app, it's a giant pain in the ass if
you're having to upgrade an existing installation, or i
While I agree that changing the app.config is a common task, and it's easy if
you're just shipping a single standalone app, it's a giant pain in the ass if
you're having to upgrade an existing installation, or integrate with another
program. (Outlook.exe.config anyone??)
I've seen a fair few .ne
The worst thing about WCF is all the configuration! Just because everything
else sucks it doesn't mean that it's ok for us to suck too!
At least you can configure WCF programatically. Along the same lines, it would
be nice for IronRuby to offer a programmatic option also (if it already does,
th
BTW,
I like to mention that I love IronRuby. The above post is the feedback I
received from the audience who were in my "I Love IronRuby" session.
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
htt
When I presented on IronRuby at different events and showed people how
much they have to do in order to get the thing in working state they
nudge their head and says no thanks.
Developers are already drained under configuration and now they have to
remember this one more configuration.
Settin
To further the point, adding elements to your config should be a fairly
routine task, as it is also required by data access, WCF, and other
libraries. Some of those may have tooling, but you must edit the config in
some way. So I don't see this as quite an incredulous thing to ask.
Ryan Riley
O
> This configuration, setting different paths etc is too much a hassle for
> developers.
Let's go over what "configuration, setting different paths etc" actually means:
- When using ir.exe directly?
Nothing, the Ruby standard library just works.
- When embedding IronRuby inside a .NET app?
Will this be changed in the final release!! This configuration, setting
different paths etc is too much a hassle for developers.
--
Posted via http://www.ruby-forum.com/.
___
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/m
10:20 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] rexml/document with IronRuby
I thought this path mess was cleaned in the IronRuby RC version. I have
the "bin" folder path in my environment variable.
I can execute the ruby implemention of the rexml/document w
I thought this path mess was cleaned in the IronRuby RC version. I have
the "bin" folder path in my environment variable.
I can execute the ruby implemention of the rexml/document without any
problems. But when I try to do the same using C# invoking IronRuby it
throws exceptions.
--
Posted via
> Is rexml/document compatible with IronRuby?
Yes:
>>> require 'rexml/document'
=> true
What is the value of $LOAD_PATH? I had sent you a mail earlier saying to copy
ir.exe.config and put it in your application's app.config, and to correct any
relative paths in the LibraryPaths value. Not
16 matches
Mail list logo