Question

Can somebody point me to a tutorial and/or Getting Started document to get IronRuby running Rails? I'm particularly interested in a detailed, step-by-step reference, not general guidelines.

Was it helpful?

Solution

Looks like there finally is one:

http://www.ironruby.net/Documentation/Rails

OTHER TIPS

IronRuby already 'runs' Rails today. We demo'd it running Rails back at RailsConf 08. That said, we have a lot of fit and finish work to do on IronRuby to get it to a state where it can run Rails well.

Where we're lacking right now is:

  • Startup speed - this is critical for a decent experience when working with Rails - especially if you're running unit tests. Right now it takes 26s to startup Rails.
  • Working set - we're currently at 100MB for a 'hello world' Rails app vs. 30MB for MRI.

    We're actually doing fine on throughput - once we're compiled things run reasonably well.

    We're moving towards an adaptive compilation strategy where we interpret by default and compile the hot spots that we find. This will make the developer experience much better. We will also have an ahead-of-time compilation mode (perhaps in conjunction with NGEN and intelligent caching) down the road which may be better than the adaptive compilation strategy.

  • Sorry to disappoint but I think you'll have to write the tutorial yourself. Unless I've missed something, IronRuby doesn't run Rails yet, although they've demonstrated some aspects running.

    According to the IronRuby home page they're at about 71% complete on the RubySpecs core package, which is probably still some way from enough to go from rails <projectName right through to ironruby script/server

    When IR runs Rails, I think we may hear about it. Or rather, we may have to shut ourselves in isolation chambers to avoid hearing about it...

    Here are a couple of nice "step by step", for beginners: http://www.ironruby.net/Samples_and_tutorials

    Licensed under: CC-BY-SA with attribution
    Not affiliated with StackOverflow
    scroll top