[Ironruby-core] Back with more questions: mono 2.4.x & IR 0.9.x

Ivan Porto Carrero ivan at flanders.co.nz
Thu Nov 26 03:04:06 EST 2009


Those builds are done on a mono machine

The console is a bit wonky at this point on mono. I don't know if it's a
mono thing or an IronRuby thing but you can't use arrow keys in the console
or tab etc. It takes the characters just doesn't interpret them.

To make something run on linux download one of the packages and extract in a
folder, then add the bin path in that folder to your PATH env variable.

The thing is the demo you tried are WPF demo's and they don't work on mono
because mono doesn't implement that technology.

If you're going cross-platform and you want a similar experience on all
platforms you're probably looking at using Qt, GTK# or Winforms at this as
GUI toolkit.
In about 8-10 months I guess silverlight 3 is a good option, and when
moonlight catches up to silverlight 4 then Silverlight is the only choice
that makes sense (money and time wise) I guess for building cross-platform
apps and providing the same experience on all of them.

IronRuby is the Ruby language on the .NET framework so if you're new to both
it can hurt and the msdn docs don't yet show a ruby language tickbox so it
will be of great help if you at least know how to read C# or VB.
I hope this helps you to get started, if not keep sending emails :)
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Google Wave: portocarrero.ivan at googlewave.com
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)

On Wed, Nov 25, 2009 at 10:27 PM, Andrew S. Townley <ast at atownley.org>wrote:

> 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 (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 on .NET
> $ 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:
> 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. :)
> Cheers,
> ast
> --
> Andrew S. Townley <ast at atownley.org>
> http://atownley.org
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20091126/680d95e2/attachment.html>

More information about the Ironruby-core mailing list