Hi Folks,
Since I hear such good things about the rate at which features are being
added to the project (and since it coincides with needing to write some
cross-platform UI code), I thought I’d give the new version a go.
Here’s my environment:
$ mono --version
Mono JIT compiler version 2.4.2.3 (tarball Mon Nov 23 08:34:29 GMT 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors.
www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
$ mono bin/ir.exe --version
IronRuby 0.9.2.0 on .NET 2.0.0.0
$ uname -a
Linux linna 2.6.24-25-generic #1 SMP Tue Oct 20 06:49:12 UTC 2009 x86_64
GNU/Linux
I’m having all kinds of trouble getting the examples to even run. When
I try any of them, I get complaints about not being able to load
libraries, e.g. the DiskUse demo:
$ mono …/…/bin/ir.exe app.rb
:0:in `require’: no such file to load – WindowsBase (LoadError)
from app.rb:16
…not to mention having all sorts of issues getting the command-line
tools to run in Linux due to environment issues that I don’t really
understand (and I’ve been a Linux user since 1993 and a UNIX user since
1990). It sure seems like there’s some environment magic that’s needed,
but I can’t figure out what it really is. Nothing that I’ve tried that
seemed like it should work did the trick.
Q: is there an up-to-date guide for getting IronRuby working with Mono
2.4 anywhere? Everything I could find with google seemed at least 2 yrs
old. There aren’t any obvious links from either the ironruby website or
from the mono site.
Clearly based on Jimmy’s OSCON 2009 post:
Jimmy Schementi > IronRuby at OSCON 2009: Mono, Moonlight, and scripting open source apps,
it should all be working swimmingly.
Apologies if this is a really dumb question.
For what I need to do at the moment, I need to quickly prototype some
small applications that need to work on Windows, Linux and OSX. From
what I’ve seen, .NET & Mono seem to be the only real choice for this at
the moment, but I’d prefer to not have to write C# code when I’m doing
the prototypes (plus I’ve lots of ruby library code that I’ve already
written for other purposes).
What’s the quickest way to get everything up and running (with some
examples of actually running stuff from the command line on Linux)?
Thanks in advance for your assistance. I’m looking forward to seeing
what I can do with IronRuby since I looked at it a few months ago.
Cheers,
ast
Andrew S. Townley [email protected]
http://atownley.org