[Ironruby-core] Just starting with IronRuby; problem with rbx

John Lam (DLR) jflam at microsoft.com
Sun Jan 27 11:13:08 EST 2008

We don't have local variables working in the console. Use instance or globals instead when running interactive mode.

- John
Sent from my phone

-----Original Message-----
From: Greg Akins <angrygreg at gmail.com>
Sent: Sunday, January 27, 2008 8:04 AM
To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org>
Subject: [Ironruby-core] Just starting with IronRuby; problem with rbx

First I appologize for posting with problems so quickly after joining
the list.  This might have been discussed, but I didn't see anything
after a quick scan of the archives.

Last night, I retrieved current source from SVN.  I built the project
and ran 'rbx'.  The session output is listed below.

Does anyone else have any idea what might have gone wrong here?
Anyone else experiencing similar problems?

Here is the transcript of the session

Copyright (c) Microsoft Corporation. All rights reserved.
>>> a = [1,2,3]
=> [1, 2, 3]
>>> b = a
:0:in `main': undefined local variable or method `a' for main:Object (NoMethodEr
        from :0:in `##6'

Greg Akins
Software Development Manager
SSI Services

Ironruby-core mailing list
Ironruby-core at rubyforge.org

More information about the Ironruby-core mailing list