I can't get starting!

Sorry for I’m a newbie of IronRuby.

I just want to do a most simple thing in IronRuby:

a = 10

puts a

then I got a lots of exception message, said that the “a” is a undefined
local variable.

But I can do this in ruby.

I just want to do a most simple thing in IronRuby:

a = 10
puts a

then I got a lots of exception message, said that the “a” is a undefined
local variable.

I can confirm this behaviour, but only when run from the interactive
console. It runs fine from file.

I can confirm this behavior too. But when i run the interactive console
in
powershell I can use the interactive console and I get no error

This is a recognised bug in the current snapshot.

Pete

John L. wrote:

Thanks for the bug report. I forgot to include this in our release notes.

  1. Spec stack trace reporting is broken in this release. The specs run (as you can see by the log, but there’s something busted in the reporting - we’ll investigate).
  1. Local variables are broken in the console only - they work fine in your programs. This is by design as the next major work item on our plate is to fix hosting in DLR, which will fix hosting in IronRuby, which will enable eval* to work.

Thanks,

-John

From: [email protected]
[mailto:[email protected]] On Behalf Of Ivan Porto
Carrero
Sent: Monday,26 November 26, 2007 09:25
To: [email protected]
Subject: Re: [Ironruby-core] I can’t get starting!

I can confirm this behavior too. But when i run the interactive console
in powershell I can use the interactive console and I get no error

On 11/26/07, Sanghyeon S. [email protected] wrote:

I just want to do a most simple thing in IronRuby:

a = 10
puts a

then I got a lots of exception message, said that the “a” is a undefined
local variable.

I can confirm this behaviour, but only when run from the interactive
console. It runs fine from file.


Seo S.

Yes, this is expected for the time being. Only interactive console is
affected. Please, use globals as a workaround until it gets fixed.

Tomas

From: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
Darwin
Sent: Monday, November 26, 2007 3:40 AM
To: [email protected]
Subject: Re: [Ironruby-core] I can’t get starting!

This is a recognised bug in the current snapshot.
Pete

John L. wrote:

Thanks for the bug report. I forgot to include this in our release notes.

  1. Spec stack trace reporting is broken in this release. The specs run (as you can see by the log, but there’s something busted in the reporting - we’ll investigate).

  2. Local variables are broken in the console only - they work fine in your programs. This is by design as the next major work item on our plate is to fix hosting in DLR, which will fix hosting in IronRuby, which will enable eval* to work.

Thanks,
-John

From: [email protected]
[mailto:[email protected]] On Behalf Of Ivan Porto
Carrero
Sent: Monday,26 November 26, 2007 09:25
To: [email protected]
Subject: Re: [Ironruby-core] I can’t get starting!

I can confirm this behavior too. But when i run the interactive console
in powershell I can use the interactive console and I get no error
On 11/26/07, Sanghyeon S. <[email protected]mailto:[email protected]>
wrote:

I just want to do a most simple thing in IronRuby:

a = 10
puts a

then I got a lots of exception message, said that the “a” is a undefined
local variable.

I can confirm this behaviour, but only when run from the interactive
console. It runs fine from file.


Seo S.


Ironruby-core mailing list
[email protected]mailto:[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

OK, I’ve got. thank you all

From: [email protected]: [email protected]:
Mon, 26 Nov 2007 08:47:04 -0800Subject: Re: [Ironruby-core] I can’t get
starting!

Yes, this is expected for the time being. Only interactive console is
affected. Please, use globals as a workaround until it gets fixed.

Tomas

From: [email protected]
[mailto:[email protected]] On Behalf Of Peter Bacon
DarwinSent: Monday, November 26, 2007 3:40 AMTo:
[email protected]: Re: [Ironruby-core] I can’t get
starting!

This is a recognised bug in the current snapshot.
Pete

John L. wrote:

Thanks for the bug report. I forgot to include this in our release notes.

  1. Spec stack trace reporting is broken in this release. The specs run (as you can see by the log, but there’s something busted in the reporting - we’ll investigate).

  2. Local variables are broken in the console only - they work fine in your programs. This is by design as the next major work item on our plate is to fix hosting in DLR, which will fix hosting in IronRuby, which will enable eval* to work.

Thanks,
-John

From: [email protected]
[mailto:[email protected]] On Behalf Of Ivan Porto
CarreroSent: Monday,26 November 26, 2007 09:25To:
[email protected]: Re: [Ironruby-core] I can’t get
starting!

I can confirm this behavior too. But when i run the interactive console
in powershell I can use the interactive console and I get no error