<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Ruby On Rails with IIS 7 - Reloaded</title><link>http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx</link><description>In my last post I mentioned getting into Ruby and making MABUILD and rake work together. I think I found a better way to do the same with PowerShell integration, which I will write up sometime this week. Now, it is inevitable that Ruby leads to Ruby On</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Ruby On Rails with IIS 7 - Reloaded</title><link>http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx#9866469</link><pubDate>Wed, 12 Aug 2009 17:18:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9866469</guid><dc:creator>Steve Hare</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was wondering if there's any reason why this would not work on Server 2008? &amp;nbsp;I followed all the steps to a T, but can't get past the 500.0 error message. &amp;nbsp;I've double and triple checked all the permissions, but no change. &amp;nbsp;Any help, or troubleshooting steps you may be able to provide would help.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;p&gt;-Steve H.&lt;/p&gt;
</description></item><item><title>re: Ruby On Rails with IIS 7 - Reloaded</title><link>http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx#9874098</link><pubDate>Tue, 18 Aug 2009 17:21:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9874098</guid><dc:creator>Daffy</dc:creator><description>&lt;P&gt;If you're wanting an setup on Windows for development, check out BitNami stacks - they've got a Ruby one - &lt;A href="http://bitnami.org/stack/rubystack" rel=nofollow target=_new&gt;http://bitnami.org/stack/rubystack&lt;/A&gt; - and a JRuby one - &lt;A href="http://bitnami.org/stack/jrubystack" rel=nofollow target=_new&gt;http://bitnami.org/stack/jrubystack&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I've not had any issues with it yet. But I'm not sure if it's suitable for production environments or not. &lt;/P&gt;
&lt;P&gt;Daf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;gt;&amp;gt;&amp;gt; Thanks Daf. I do have the dev environment. I am looking for &lt;BR&gt;deployment via IIS&lt;/P&gt;</description></item><item><title>re: Ruby On Rails with IIS 7 - Reloaded</title><link>http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx#9891954</link><pubDate>Sun, 06 Sep 2009 18:35:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9891954</guid><dc:creator>Steve H.</dc:creator><description>&lt;p&gt;I had to add the IIS_USRS group to the RoRIIS7 dir and give full control to get the 500 error to go away.&lt;/p&gt;
</description></item><item><title>re: Ruby On Rails with IIS 7 - Reloaded</title><link>http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx#9891982</link><pubDate>Sun, 06 Sep 2009 21:40:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9891982</guid><dc:creator>Ruprict</dc:creator><description>&lt;p&gt;I also had to uncomment out this line in the environment.rb:&lt;/p&gt;
&lt;p&gt;&amp;lt;pre&amp;gt;config.gem &amp;quot;sqlite3-ruby&amp;quot;, :lib =&amp;gt; &amp;quot;sqlite3&amp;quot;&amp;lt;/pre&amp;gt;&lt;/p&gt;
</description></item><item><title>re: Ruby On Rails with IIS 7 - Reloaded</title><link>http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx#9912467</link><pubDate>Sat, 24 Oct 2009 16:16:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9912467</guid><dc:creator>Frank</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm using server 2008, and have also followed the instructions to the letter.&lt;/p&gt;
&lt;p&gt;I am also stuck on the http 500 error.&lt;/p&gt;
&lt;p&gt;I have set the netowrk permissions, and also (as a test) allowed the &amp;quot;everyone&amp;quot; group full access to c:\ruby\ and c:\inetpub\roriis7. &amp;nbsp;(this was just a test to see if it was permissions related - no joy).&lt;/p&gt;
&lt;p&gt;Do you have any hints as to how I can debug this?&lt;/p&gt;
&lt;p&gt;Ta'&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;
</description></item><item><title>re: Ruby On Rails with IIS 7 - Reloaded</title><link>http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx#9913938</link><pubDate>Wed, 28 Oct 2009 07:05:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9913938</guid><dc:creator>nightcrawler</dc:creator><description>&lt;p&gt;I am also stuck on the http 500 error using Server 2008 x64, has anybody solved this ?&lt;/p&gt;
</description></item><item><title>re: Ruby On Rails with IIS 7 - Reloaded</title><link>http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx#9914533</link><pubDate>Thu, 29 Oct 2009 06:15:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9914533</guid><dc:creator>CG</dc:creator><description>&lt;p&gt;I am installing redMine (RoR based ticketing system) with this guide and it works great.&lt;/p&gt;
&lt;p&gt;however, there is still a small problem with this configuration. In redmine , if there is a new row of data created (regardless is new issue , new follow-up , new tracker or etc) . &lt;/p&gt;
&lt;p&gt;After record create, redMine will redirect to show the record. It will show the 500 error &amp;nbsp;at first. If I refresh it , it will load the page correctly. &amp;nbsp;It seems like IIS could not find the new record &amp;nbsp;when it is created , but later it will work. I suspect is the caching problem of dispatch.fcgi or URL Rewrite &amp;nbsp;or Module Handler setting . &lt;/p&gt;
&lt;p&gt;Anybody encounter this problem , any solution ? &lt;/p&gt;
&lt;p&gt;IIS7 + RoR 2.2.2 (RedMine) + URL Rewrite 1.1&lt;/p&gt;
</description></item><item><title>re: Ruby On Rails with IIS 7 - Reloaded</title><link>http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx#9934008</link><pubDate>Tue, 08 Dec 2009 13:15:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9934008</guid><dc:creator>confused</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I'm using server 2008 and your simple example is running fine. The problem comes when expanding the site to handle images and css. None of the files will be forwarded. Rails log errors like &amp;quot;ActionController::RoutingError (No route matches &amp;quot;/stylesheets/main.css&amp;quot; with {:method=&amp;gt;:get}):&lt;/p&gt;
&lt;p&gt; &amp;nbsp;public/dispatch.fcgi:24&amp;quot;&lt;/p&gt;
&lt;p&gt;You build your post on Ruslan's post about URL rewriter.&lt;/p&gt;
&lt;p&gt;but it's not used in your example? &lt;/p&gt;
&lt;p&gt;Is Ruslan's proposed solution for displaying static files the way to go to get it working?&lt;/p&gt;
</description></item><item><title>re: Ruby On Rails with IIS 7 - Reloaded</title><link>http://blogs.msdn.com/dgorti/archive/2009/06/17/ruby-on-rails-with-iis-7-reloaded.aspx#9934177</link><pubDate>Tue, 08 Dec 2009 18:10:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9934177</guid><dc:creator>confused</dc:creator><description>&lt;p&gt;To get it working with regular rails view helpers like &amp;lt;%= stylesheet_link_tag 'main' %&amp;gt;, &amp;lt;%= javascript_include_tag :defaults %&amp;gt;&lt;/p&gt;
&lt;p&gt;and normal tags like &amp;lt;img src=&amp;quot;images/pict.gif&amp;quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;that all works well running the application on webrick.&lt;/p&gt;
&lt;p&gt;I added the URL revrite feature to my IIS7 site, imported the rules from Ruslan's solution, and changed the C:\windows\system32\inetsrv\config and open &lt;/p&gt;
&lt;p&gt;applicationhost.config handler section path&amp;quot;*&amp;quot; to path=&amp;quot;dispatch.fcgi&amp;quot;&lt;/p&gt;
&lt;p&gt;Finally I added virtual directories to my site having alias images,stylesheets and javascripts.&lt;/p&gt;
</description></item></channel></rss>