Is there a way to get IronRuby on Rails to work under IIS6 or IIS7? I have seen some articles about Ruby on Rails, but not IronRuby. I guess it wouldn''t be too difficult since these are both MS apps. I just cant find how to do it, sure the built in tester for rails is there for development, but i would like a static always-on-solution for some serious testing of my app as well as available to anyone who can hit the web server. Thanks, --Nick
http://ironruby.net/Documentation/Real_Ruby_Applications/Rails should have the info you need. Did this not show up in a web search? Could the web site be better organized? Just wondering how we could make it easier for people to get to the info on ironruby.net... -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Nick Hird Sent: Wednesday, March 31, 2010 2:33 PM To: Ironruby-core at rubyforge.org Subject: [Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7 Is there a way to get IronRuby on Rails to work under IIS6 or IIS7? I have seen some articles about Ruby on Rails, but not IronRuby. I guess it wouldn''t be too difficult since these are both MS apps. I just cant find how to do it, sure the built in tester for rails is there for development, but i would like a static always-on-solution for some serious testing of my app as well as available to anyone who can hit the web server. Thanks, --Nick _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
I think the problem is that the information really isn''t complete. The IIS stuff isn''t even on this page, it''s in the IronRuby.Rack readme, which I have yet to have success with. On Wed, Mar 31, 2010 at 4:06 PM, Shri Borde <Shri.Borde at microsoft.com> wrote:> http://ironruby.net/Documentation/Real_Ruby_Applications/Rails should have the info you need. > > Did this not show up in a web search? Could the web site be better organized? Just wondering how we could make it easier for people to get to the info on ironruby.net... > > -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Nick Hird > Sent: Wednesday, March 31, 2010 2:33 PM > To: Ironruby-core at rubyforge.org > Subject: [Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7 > > Is there a way to get IronRuby on Rails to work under IIS6 or IIS7? I > have seen some articles about Ruby on Rails, but not IronRuby. I guess > it wouldn''t be too difficult since these are both MS apps. I just cant > find how to do it, sure the built in tester for rails is there for > development, but i would like a static always-on-solution for some > serious testing of my app as well as available to anyone who can hit > the web server. > Thanks, > --Nick > _______________________________________________ > 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 >
Jimmy Schementi
2010-Mar-31 23:37 UTC
[Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7
Nick, IronRuby.Rack lets you run Rack-based applications on IIS, like Rails. Read more here: http://github.com/ironruby/ironruby/tree/master/Merlin/Main/Hosts/IronRuby.Rack#readme Basically get the IronRuby source code, build IronRuby.Rack.sln, and try the IronRuby.Rails.Example app; it will run Rails in IIS. If it doesn''t work, it''s probably just a configuration issue, so please let me know. The next release of IronRuby will be accompanied by a build of IronRuby.Rack.dll, if you''d rather wait until then. Robert, what problems have you been having? I''ll want to capture common issues in the docs, and also make sure you''re unblocked. ~Jimmy -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Robert Rouse Sent: Wednesday, March 31, 2010 4:09 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7 I think the problem is that the information really isn''t complete. The IIS stuff isn''t even on this page, it''s in the IronRuby.Rack readme, which I have yet to have success with. On Wed, Mar 31, 2010 at 4:06 PM, Shri Borde <Shri.Borde at microsoft.com> wrote:> http://ironruby.net/Documentation/Real_Ruby_Applications/Rails should have the info you need. > > Did this not show up in a web search? Could the web site be better organized? Just wondering how we could make it easier for people to get to the info on ironruby.net... > > -----Original Message----- > From: ironruby-core-bounces at rubyforge.org > [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Nick Hird > Sent: Wednesday, March 31, 2010 2:33 PM > To: Ironruby-core at rubyforge.org > Subject: [Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7 > > Is there a way to get IronRuby on Rails to work under IIS6 or IIS7? I > have seen some articles about Ruby on Rails, but not IronRuby. I guess > it wouldn''t be too difficult since these are both MS apps. I just cant > find how to do it, sure the built in tester for rails is there for > development, but i would like a static always-on-solution for some > serious testing of my app as well as available to anyone who can hit > the web server. > Thanks, > --Nick > _______________________________________________ > 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 >_______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
It probably is a configuration issue for me. I could never get it to actually run anything through Rack. I''ll try again at some point very soon and note what I''ve tried. I was just a little frustrated last time, so I didn''t write anything useful down. On Wed, Mar 31, 2010 at 5:37 PM, Jimmy Schementi <Jimmy.Schementi at microsoft.com> wrote:> Nick, > > IronRuby.Rack lets you run Rack-based applications on IIS, like Rails. Read more here: > http://github.com/ironruby/ironruby/tree/master/Merlin/Main/Hosts/IronRuby.Rack#readme > > Basically get the IronRuby source code, build IronRuby.Rack.sln, and try the IronRuby.Rails.Example app; it will run Rails in IIS. If it doesn''t work, it''s probably just a configuration issue, so please let me know. The next release of IronRuby will be accompanied by a build of IronRuby.Rack.dll, if you''d rather wait until then. > > Robert, what problems have you been having? I''ll want to capture common issues in the docs, and also make sure you''re unblocked. > > ~Jimmy > > -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Robert Rouse > Sent: Wednesday, March 31, 2010 4:09 PM > To: ironruby-core at rubyforge.org > Subject: Re: [Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7 > > I think the problem is that the information really isn''t complete. The IIS stuff isn''t even on this page, it''s in the IronRuby.Rack readme, which I have yet to have success with. > > On Wed, Mar 31, 2010 at 4:06 PM, Shri Borde <Shri.Borde at microsoft.com> wrote: >> http://ironruby.net/Documentation/Real_Ruby_Applications/Rails should have the info you need. >> >> Did this not show up in a web search? Could the web site be better organized? Just wondering how we could make it easier for people to get to the info on ironruby.net... >> >> -----Original Message----- >> From: ironruby-core-bounces at rubyforge.org >> [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Nick Hird >> Sent: Wednesday, March 31, 2010 2:33 PM >> To: Ironruby-core at rubyforge.org >> Subject: [Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7 >> >> Is there a way to get IronRuby on Rails to work under IIS6 or IIS7? I >> have seen some articles about Ruby on Rails, but not IronRuby. I guess >> it wouldn''t be too difficult since these are both MS apps. I just cant >> find how to do it, sure the built in tester for rails is there for >> development, but i would like a static always-on-solution for some >> serious testing of my app as well as available to anyone who can hit >> the web server. >> Thanks, >> --Nick >> _______________________________________________ >> 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 >> > _______________________________________________ > 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 >
Ivan Porto Carrero
2010-Apr-01 05:59 UTC
[Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7
I can get it to work kind of.. (IronRuby.Rack) but it doesn''t show images for me. everything else works great. Here''s an example of a config.ru file. Although in rails I put the bin folder and web.config file in the public folder and change the app root setting in web.config. http://github.com/casualjim/rubyconfindia/tree/master/samples/sinatra/ --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero - Mob: +32.486.787.582 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 Thu, Apr 1, 2010 at 1:46 AM, Robert Rouse <robert.e.rouse at gmail.com>wrote:> It probably is a configuration issue for me. > > I could never get it to actually run anything through Rack. > > I''ll try again at some point very soon and note what I''ve tried. I was > just a little frustrated last time, so I didn''t write anything useful > down. > > On Wed, Mar 31, 2010 at 5:37 PM, Jimmy Schementi > <Jimmy.Schementi at microsoft.com> wrote: > > Nick, > > > > IronRuby.Rack lets you run Rack-based applications on IIS, like Rails. > Read more here: > > > http://github.com/ironruby/ironruby/tree/master/Merlin/Main/Hosts/IronRuby.Rack#readme > > > > Basically get the IronRuby source code, build IronRuby.Rack.sln, and try > the IronRuby.Rails.Example app; it will run Rails in IIS. If it doesn''t > work, it''s probably just a configuration issue, so please let me know. The > next release of IronRuby will be accompanied by a build of > IronRuby.Rack.dll, if you''d rather wait until then. > > > > Robert, what problems have you been having? I''ll want to capture common > issues in the docs, and also make sure you''re unblocked. > > > > ~Jimmy > > > > -----Original Message----- > > From: ironruby-core-bounces at rubyforge.org [mailto: > ironruby-core-bounces at rubyforge.org] On Behalf Of Robert Rouse > > Sent: Wednesday, March 31, 2010 4:09 PM > > To: ironruby-core at rubyforge.org > > Subject: Re: [Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7 > > > > I think the problem is that the information really isn''t complete. The > IIS stuff isn''t even on this page, it''s in the IronRuby.Rack readme, which I > have yet to have success with. > > > > On Wed, Mar 31, 2010 at 4:06 PM, Shri Borde <Shri.Borde at microsoft.com> > wrote: > >> http://ironruby.net/Documentation/Real_Ruby_Applications/Rails should > have the info you need. > >> > >> Did this not show up in a web search? Could the web site be better > organized? Just wondering how we could make it easier for people to get to > the info on ironruby.net... > >> > >> -----Original Message----- > >> From: ironruby-core-bounces at rubyforge.org > >> [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Nick Hird > >> Sent: Wednesday, March 31, 2010 2:33 PM > >> To: Ironruby-core at rubyforge.org > >> Subject: [Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7 > >> > >> Is there a way to get IronRuby on Rails to work under IIS6 or IIS7? I > >> have seen some articles about Ruby on Rails, but not IronRuby. I guess > >> it wouldn''t be too difficult since these are both MS apps. I just cant > >> find how to do it, sure the built in tester for rails is there for > >> development, but i would like a static always-on-solution for some > >> serious testing of my app as well as available to anyone who can hit > >> the web server. > >> Thanks, > >> --Nick > >> _______________________________________________ > >> 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 > >> > > _______________________________________________ > > 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 > > > _______________________________________________ > 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/20100401/cad45688/attachment.html>
Ivan, I''m having the same problem. Everything else seems to work, but no images show up. The image URLs generated by the framework seem to be correct, but I get broken image icons when I paste those URLs directly into the address bar. It seems odd, because other types of static content (css files and index.html) seem to come down just fine. Not sure whether this needs to be tweaked in Rails, IIS, or the Rack implementation. Any guidance from the IronRuby team here? Thanks, and congrats on shipping 1.0! Brian -- Posted via http://www.ruby-forum.com/.
yeah I am getting the same thing. Even just pulling the image up directly. mysite.com/images/image.png in firefox says the image is corrupt. On Sat, Apr 17, 2010 at 11:26 AM, Brian Sullivan <lists at ruby-forum.com>wrote:> Ivan, I''m having the same problem. Everything else seems to work, but > no images show up. The image URLs generated by the framework seem to be > correct, but I get broken image icons when I paste those URLs directly > into the address bar. > > It seems odd, because other types of static content (css files and > index.html) seem to come down just fine. Not sure whether this needs to > be tweaked in Rails, IIS, or the Rack implementation. > > Any guidance from the IronRuby team here? Thanks, and congrats > on shipping 1.0! > > Brian > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-- "The explanation requiring the fewest assumptions is most likely to be correct." - Occam?s Razor http://en.wikipedia.org/wiki/Occam''s_Razor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100417/e3332efa/attachment-0001.html>
Jimmy Schementi
2010-Apr-17 19:16 UTC
[Ironruby-core] IronRuby on Rails and IIS 6 or IIS 7
As I''ve already said:> There''s also a bug with serving binary files, so images won''t work, but that''ll be fixed for this release.~Jimmy On Apr 17, 2010, at 12:00 PM, "Bobby Johnson" <bobby.johnson at gmail.com<mailto:bobby.johnson at gmail.com>> wrote: yeah I am getting the same thing. Even just pulling the image up directly. <http://mysite.com/images/image.png> mysite.com/images/image.png<http://mysite.com/images/image.png> in firefox says the image is corrupt. On Sat, Apr 17, 2010 at 11:26 AM, Brian Sullivan <<mailto:lists at ruby-forum.com>lists at ruby-forum.com<mailto:lists at ruby-forum.com>> wrote: Ivan, I''m having the same problem. Everything else seems to work, but no images show up. The image URLs generated by the framework seem to be correct, but I get broken image icons when I paste those URLs directly into the address bar. It seems odd, because other types of static content (css files and index.html) seem to come down just fine. Not sure whether this needs to be tweaked in Rails, IIS, or the Rack implementation. Any guidance from the IronRuby team here? Thanks, and congrats on shipping 1.0! Brian -- Posted via <http://www.ruby-forum.com/> http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list <mailto:Ironruby-core at rubyforge.org>Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org> <http://rubyforge.org/mailman/listinfo/ironruby-core>http://rubyforge.org/mailman/listinfo/ironruby-core -- "The explanation requiring the fewest assumptions is most likely to be correct." - Occam?s Razor <http://en.wikipedia.org/wiki/Occam''s_Razor>http://en.wikipedia.org/wiki/Occam''s_Razor _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org<mailto: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/20100417/5444480e/attachment.html>
Jimmy, Apologies, my searches didn''t turn up that particular comment. Didn''t mean to make you repeat yourself. :-) Looking forward to future releases of IronRuby and Rack for IIS! Brian -- Posted via http://www.ruby-forum.com/.