[Ironruby-core] IronRuby + Rails on IIS via Rack

Edward J. Stembler ejstembler at mac.com
Thu Feb 11 23:09:04 EST 2010

Answering my own post here…  My initial problem was that I was using the Windows installer instead of the source code download.  I didn’t realize it wasn’t included in the installer.  I saw Jimmy’s todo reference of supplying a gem in the future.

In any case, after getting the VS2010 solution to compile in VC2010 RC, I did run into two subsequent issues.  Incidentally, I added Fusion!EnableLog to the registry in order to see logging info.  Which revealed that my first error had to do with a Microsoft.Scripting configuration error in web.config.  The log showed where it was attempting to locate the assembly and that lead me to suspect an x64 issue.  I deleted the version/culture/PublicKey data from the reference to get it to continue on to the next error in Interperter.cs which I stopped at:

System.NotSupportedException was unhandled by user code
  Message=Win32API is not supported in 64-bit process

So, I’m guessing this means x64 is not currently supported?  Can anyone confirm or deny this? If x64 is not supported yet, is there an ETA?


On Feb 5, 2010, at 1:27 PM, Edward J. Stembler wrote:

> Anyone have a link for instructions on getting IronRuby + Rails up and running on IIS via Rack?
> I already have everything installed, but I'm not sure how to configure IIS to use Rack. Already created a seperate AppPool. A few more questions... What directory should be used as the virtual dirctory (root of rails app? Public?). What is the bare minimum needed in web.config? Where can I find the config.ru mentioned? Do any mime types need to be added to IIS?
> Thanks

More information about the Ironruby-core mailing list