IIS + IronRuby

Hello,

I know this has been asked quite a few times, but I don¹t see any
progress
on a full set of directions for using IIS to host IronRuby R./Rack
applications.

Anything out there that I¹m missing?

Well it’s not really working atm at least not for me

IronRuby.Rack how to debug? - IronRuby - Ruby-Forum

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Microsoft IronRuby/C# MVP

but what I did was create a new solution in visual studio
Added references to the files from the ironruby rc3 distribution
Add the files from Merlin\Main\Hosts\IronRuby.Rack*.cs to the solution

Applied this patch:
http://www.mail-archive.com/[email protected]/msg06039.html

compiled as release

Added a bin folder to my public folder and copied the resulting
assemblies
there.
Added a web.config much like this one:
http://github.com/ironruby/ironruby/blob/master/Merlin/Main/Hosts/IronRuby.Rack/IronRuby.RailsDB.Example/Web.config

But I changed the values of LibraryPaths and GemPath to point to my
ironruby
install
based on C:\ironruby\

I also changed the value of AppRoot to …

and my config.ru in the RAILS_ROOT contains:

ENV[‘RAILS_ENV’] = ‘production’
require “config/environment”

use Rails::Rack::LogTailer
use Rails::Rack::Static
run ActionController::Dispatcher.new

That should make your application work on IIS but there is still an open
problem around it not serving the images.

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto C.
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Microsoft IronRuby/C# MVP

Hello,

I¹ve done the equivalent of that and IIS returns a 403 error when I try
to
access the site.

On 3/14/10 1:38 PM, “Ivan Porto C.” [email protected]