[Ironruby-core] Back with more questions: mono 2.4.x & IR 0.9.x
Andrew S. Townley
ast at atownley.org
Wed Nov 25 16:27:45 EST 2009
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 184.108.40.206 (tarball Mon Nov 23 08:34:29 GMT 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors.
GC: Included Boehm (with typed GC)
$ mono bin/ir.exe --version
IronRuby 0.9.2.0 on .NET 220.127.116.11
$ uname -a
Linux linna 2.6.24-25-generic #1 SMP Tue Oct 20 06:49:12 UTC 2009 x86_64
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)
...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:
http://blog.jimmy.schementi.com/2009/07/ironruby-at-oscon-2009-mono-moonlight.html, 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. :)
Andrew S. Townley <ast at atownley.org>
More information about the Ironruby-core