Hi Ivan,
now I get this error L
C:\Projects\IronRuby>ir
IronRuby 1.0.0.0 on .NET 2.0.50727.3053
Copyright (c) Microsoft Corporation. All rights reserved.
>>> require 'rubygems'
IronRuby.Libraries:0:in `require': no such file to load -- rbconfig (LoadError)
from :0
from
Hello,
I am very pleased that I got everything working and found iron ruby in a
quite usable state for me. Congratulations.
Question: How do you set a global variable from C#? I found a workaround via
setting a local variable scope.SetVariable("a", obj) in the scope and
assigning it to a global v
On Mon, Feb 9, 2009 at 12:12 PM, Meinrad Recheis
wrote:
> Hello,
>
> I am very pleased that I got everything working and found iron ruby in a
> quite usable state for me. Congratulations.
>
> Question: How do you set a global variable from C#? I found a workaround
> via setting a local variable sc
On Mon, Feb 9, 2009 at 1:11 PM, Meinrad Recheis
wrote:
> On Mon, Feb 9, 2009 at 1:05 PM, Meinrad Recheis > wrote:
>
>> On Mon, Feb 9, 2009 at 12:12 PM, Meinrad Recheis <
>> meinrad.rech...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I am very pleased that I got everything working and found iron ruby
On Mon, Feb 9, 2009 at 1:05 PM, Meinrad Recheis
wrote:
> On Mon, Feb 9, 2009 at 12:12 PM, Meinrad Recheis <
> meinrad.rech...@gmail.com> wrote:
>
>> Hello,
>>
>> I am very pleased that I got everything working and found iron ruby in a
>> quite usable state for me. Congratulations.
>>
>> Question:
Change looks good.
-Original Message-
From: Tomas Matousek
Sent: Sunday, February 08, 2009 1:06 PM
To: IronRuby External Code Reviewers
Cc: ironruby-core@rubyforge.org
Subject: Code Review: ErrorMessageFix
tfpt review "/shelveset:ErrorMessageFix;REDMOND\tomat"
Fixes binder error mes
You can find many hosting examples in HostingTests.cs.
As for global and top-level local variables:
- Variables in ScriptRuntimeRuntime.Globals are mapped to global
constants (ie. constants on Object).
- Variables in local ScriptScope are not mapped to Ruby top-level
local va
Hi Will,
If you want any help (I'm the author of NWSGI) drop me a line. The
specifications certainly are very similar; NWSGI is only a couple
hundred lines, so I doubt a Rack implementation would be any larger.
The really hard part is building the management interface - WinForms
is a huge PITA.
-
You can just require the file with its full path. In your case:
>>> require 'C:\Ruby\lib\ruby\gems\1.8\gems\bacon-1.1.0\lib\bacon.rb'
2009/2/9 Claudio Maccari
> Hi Ivan,
>
> now I get this error L
>
>
>
> C:\Projects\IronRuby>ir
>
> IronRuby 1.0.0.0 on .NET 2.0.50727.3053
>
> Copyright (c) Micr
This works but I would understand why require bacon does not.
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Stefan Dobrev
Sent: lunedì 9 febbraio 2009 20.32
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] test .net code wit
Sounds like rubygems isn't working correctly on your setup of IronRuby. It's
complaining about not finding rbconfig, which gems needs to load. It doesn't
have anything to do with bacon, so for now avoid loading it as a gem.
We don't have good documentation about how to get gems working in custom
IronRuby does not currently support BEGIN/END. HTree uses BEGIN like this to
syntax check if code_to_syntax_check contains valid Ruby code.
eval("BEGIN { return true }\n#{code_to_syntax_check}")
Is there any difference to just using this?
eval("return true\n#{code_to_syntax_check}")
Hi,
two things:
- I'm sharing in case it's useful to someone else: I pushed some rake tasks
here http://github.com/thbar/ironruby-labs/tree/master . I'm using it to
download the DLR nightly to my Mac, patch ir.exe.config and launch mono
ir.exe. I'll add more things there as I go (including UI, exp
Hello again,
I'm playing around with the idea of using IronRuby to implement plugins for
a C#-based system (namely, CruiseControl.Net).
I'm having some difficulties trying to figure out what the correct syntax
for that would be. I'm currently using this to bootstrap the engine:
var reader = new S
Will,
That page on github is wildly out of date (and I've updated it to say so).
http://ironruby.info will have daily information on where IronRuby is at with
supporting RubySpec, as well as other popular Ruby frameworks. Right now it's
just RubySpec pass/fail information, but stack traces and
How does it fail? Nothing fails for me, but how are you trying to use this Ruby
class?
(test.cs has your c# code in it):
C:\dev>csc.exe /t:library test.cs
Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.715
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation.
Have you tried "def HelloWorld; end" (ie. match the interface method casing)?
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Thibaut Barrère
Sent: Monday, February 09, 2009 5:23 PM
To: ironruby-core
Subject: [Ironruby-core] How to implem
We only have blocks/lambda->event handlers working. Passing a method handle is
on the list, but not done yet. Feel free to post a bug on RubyForge to make
sure we get around to it.
http://rubyforge.org/tracker/?func=add&group_id=4359&atid=16798
~js
From: ironruby-core-boun...@rubyforge.org
[m
You need to call the method from C# to check whether it is actually bound to
the CLR interface implementation. The method will always be callable from Ruby.
Tomas
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Jimmy Schementi
Sent: Monday, Fe
Ah, me = dummy. You have that interface in C#, and the IronRuby code you're
hosting can't see the interface. This should expose all the types in the
current assembly:
engine.Runtime.LoadAssembly(GetType().Assembly);
~js
From: ironruby-core-boun...@rubyforge.org
[mailto:ironruby-core-boun...@r
// test.dll
public interface IDoSomething {
void HelloWorld();
}
public class Foo {
public void Bar(IDoSomething i) {
i.HelloWorld();
}
}
C:\dev>ir
IronRuby 1.0.0.0 on .NET 2.0.50727.3521
Copyright (c) Microsoft Corporation. All rights reserved.
>>> require 'test.dll'
=> true
>>> class
21 matches
Mail list logo