Getting Started with IronRuby on Rails [closed]

旧街凉风 提交于 2019-11-29 02:56:16

问题


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.


回答1:


Looks like there finally is one:

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




回答2:


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.




    回答3:


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




    回答4:


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



    来源:https://stackoverflow.com/questions/386950/getting-started-with-ironruby-on-rails

  • 易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
    该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!