Ahh I did not do that!! I think I will just use path collection and
List this is just too much work.
Ivan Porto Carrero wrote:
> Did you change the paths in the app.config file to be absolute?
>
> ---
> Met vriendelijke groeten - Best regards - Salutations
> Ivan Porto Carrero
> Web: http://whit
Did you change the paths in the app.config file to be absolute?
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
My fault I did not include the App.config settings. So, now I have
copied everything from ir.exe.config into my App.config and I run the
application and get the following error:
Unhandled Exception: IronRuby.Builtins.LoadError: no such file to load
-- open-u
ri
at
Microsoft.Scripting.Inter
I used the above code that you provided but it is throwing exceptions:
static void Main(string[] args)
{
var setup = ScriptRuntimeSetup.ReadConfiguration();
var runtime = Ruby.CreateRuntime(setup); // error is thrown
here
var engine = Ruby.GetEngine(r
rg
Subject: Re: [Ironruby-core] Open-Uri Path in App.Config
Hi,
>> Probably because your app config is in a different location than ir.exe.
Do you mean the ironruby app config or my application app config? My
application config is in my application directory. The question is that why it
Hi,
>> Probably because your app config is in a different location than ir.exe.
Do you mean the ironruby app config or my application app config? My
application config is in my application directory. The question is that
why it is not reading my application config automatically.
Thanks,
Azam
}
-Original Message-
From: [email protected]
[mailto:[email protected]] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 7:52 AM
To: [email protected]
Subject: Re: [Ironruby-core] Open-Uri Path in App.Config
I copied the ironruby c
I copied the ironruby config file into my application's config file and
removed all the path variables from my application but it did not work.
Then I added the "C:\devtools\ironruby-1.0-rc1\lib\ironruby" path and
removed the app.config and then it worked out.
Any ideas that why even copy pasti
[email protected]] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 7:54 AM
To: [email protected]
Subject: Re: [Ironruby-core] Open-Uri Path in App.Config
I will definitely buy your book when IronRuby is publicly released! I don't
want to consult the book and find out that opp
I will definitely buy your book when IronRuby is publicly released! I
don't want to consult the book and find out that opps that has now
changed in the final release.
Ivan Porto Carrero wrote:
> here's an idea maybe buy my book. All this is explained in there
>
> replace: paths.Add(@"C:\DevTool
here's an idea maybe buy my book. All this is explained in there
replace: paths.Add(@"C:\DevTools\ironruby-1.0-rc1\lib");
with: paths.Add(@"C:\DevTools\ironruby-1.0-rc1\lib\ironruby");
That's the location that contains stringio.rb.
It was like this when I sent the email earlier:
---
Met vriend
why we install that config file.
JD
-Original Message-
From: [email protected]
[mailto:[email protected]] On Behalf Of Mohammad Azam
Sent: Monday, March 01, 2010 7:22 AM
To: [email protected]
Subject: Re: [Ironruby-core] Open-Uri Path in App.Con
Here is my implementation:
static void Main(string[] args)
{
var url = "http://www.google.com";;
var engine = IronRuby.Ruby.CreateEngine();
var paths = new List();
paths.Add(@"C:\DevTools\ironruby-1.0-rc1\lib");
paths.Add(@"C:\
you might want to move the executefile method
var url = "http://www.google.com.com";;
var engine = IronRuby.Ruby.CreateEngine();
var paths = new List();
paths.Add(@"C:\DevTools\ironruby-1.0-rc1\lib");
paths.Add(@"C:\DevTools\ironruby-1.0-rc1\lib\ruby\site_ruby
So, I added the paths that you provided in my C# code since I am trying
to execute the .rb file from C#. Here is the complete code:
static void Main(string[] args)
{
var url = "http://www.google.com.com";;
var engine = IronRuby.Ruby.CreateEngine();
v
Is this still an issue?
Provide a config file like this:
Host IronRuby like this:
var setup = ScriptRuntimeSetup.ReadConfiguration();
scriptRuntime = Ruby.CreateRuntime(setup);
Engine = Ruby.GetEngine(Runtime);
Context = Ruby.GetE
I guess you're talking about that:
Shay.
Shay Friedman | .NET Technologies Expert | Author of IronRuby Unleashed |
Sela Technology Center
Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay
On Mon, Mar 1, 2010 at 3:21 AM,
I completely forgot the paths that I need to setup to use open-uri in
IronRuby when using with C#. I need to put those paths in my App.config
to work with open-uri. Can anyone please paste those sections here? I
keep forgetting those sections that I need to include in my App.config.
--
Posted via
18 matches
Mail list logo