[Ironruby-core] IIS + IronRuby

Robert Rouse robert.e.rouse at gmail.com
Sun Mar 14 16:53:50 EDT 2010


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@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>


More information about the Ironruby-core mailing list