问题
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:
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