Getting Started with IronRuby on Rails [closed]

2019-02-03 18:05发布

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.

4条回答
Deceive 欺骗
2楼-- · 2019-02-03 18:37

Looks like there finally is one:

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

查看更多
ゆ 、 Hurt°
3楼-- · 2019-02-03 18:51

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

查看更多
做自己的国王
4楼-- · 2019-02-03 18:53

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...

查看更多
狗以群分
5楼-- · 2019-02-03 18:56

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.

  • 查看更多
    登录 后发表回答