Well it''s not really working atm at least not for me http://www.ruby-forum.com/topic/205999 --- 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/41aac482/attachment.html>
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 at 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>
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? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100314/757f1bcf/attachment-0001.html>
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 Carrero" <ivan at whiterabbitconsulting.eu> wrote:> 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 at 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.Rac > k/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 <http://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 >> > > > > _______________________________________________ > 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/3cfdc286/attachment.html>