Hi all,

I've got a Windows 2008 / IIS 7 server, and a default Rails app working
with:

  Rails 2.3.5
  Rack gem (1.0.1)
  IronRuby 1.0 RTM
  IronRuby.Rack.dll built from Git HEAD.

It seems like images are being corrupted? Static content like
/javascripts/prototype.js looks fine, but I get a broken image when
requesting /images/rails.png

Running curl, the headers looked OK:

  HTTP/1.1 200 OK
  Cache-Control: private
  Content-Length: 6646
  Content-Type: image/png; charset=utf-8
  Last-Modified: Thu, 20 May 2010 18:50:34 GMT
  Server: Microsoft-IIS/7.0
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Date: Fri, 21 May 2010 18:11:54 GMT

(However, it displays correctly when using the local "ir script\server"
(just webrick) http://localhost:3000/images/rails.png)

(It looks like Bobby Johnson has the same or similar issue in his screencast
@
http://www.iamnotmyself.com/2010/04/22/RunningRailsInIIS7WithIronRubyRack.aspx(15m
04s))

Any ideas?

Thanks,
Ed C.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to