[Ironruby-core] IIS + IronRuby

Ivan Porto Carrero ivan at whiterabbitconsulting.eu
Sun Mar 14 15:38:05 EDT 2010


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/ironruby-core@rubyforge.org/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 Carrero
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


On Sun, Mar 14, 2010 at 9:04 PM, Robert Rouse <robert.e.rouse at gmail.com>wrote:

>  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 Rails/Rack
> applications.
>
> Anything out there that I’m missing?
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100314/61988c5d/attachment.html>


More information about the Ironruby-core mailing list