<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Deploying a rails app on a suburi</title>
	<atom:link href="http://blog.toppingdesign.com/2009/02/07/deploying-a-rails-app-on-a-suburi/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.toppingdesign.com/2009/02/07/deploying-a-rails-app-on-a-suburi/</link>
	<description>Usability, Information Management, Rails, Javascript &#38; (oh no) Web 2.0</description>
	<lastBuildDate>Tue, 24 Jan 2012 16:32:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Pat Murray</title>
		<link>http://blog.toppingdesign.com/2009/02/07/deploying-a-rails-app-on-a-suburi/comment-page-1/#comment-9579</link>
		<dc:creator>Pat Murray</dc:creator>
		<pubDate>Wed, 29 Apr 2009 23:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.toppingdesign.com/2009/02/07/deploying-a-rails-app-on-a-suburi/#comment-9579</guid>
		<description>Thanks very much, this worked perfectly for me!

I&#039;m also running phusion passenger to deploy my site to a sub-uri.  

I already have one site running, and had fixed that one with a combination of statically prefixed routes, and adding the following to my production.rb to fix the stylesheet linking:
ActionController::Base.asset_host = &quot;http://xx.com/specs&quot;

With this solution, I still need to add that line.  This seems to be a much better solution though, because if the site was moved to a different sub-uri, only two lines need to be changed!</description>
		<content:encoded><![CDATA[<p>Thanks very much, this worked perfectly for me!</p>
<p>I&#8217;m also running phusion passenger to deploy my site to a sub-uri.  </p>
<p>I already have one site running, and had fixed that one with a combination of statically prefixed routes, and adding the following to my production.rb to fix the stylesheet linking:<br />
ActionController::Base.asset_host = &#8220;http://xx.com/specs&#8221;</p>
<p>With this solution, I still need to add that line.  This seems to be a much better solution though, because if the site was moved to a different sub-uri, only two lines need to be changed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Topper</title>
		<link>http://blog.toppingdesign.com/2009/02/07/deploying-a-rails-app-on-a-suburi/comment-page-1/#comment-9573</link>
		<dc:creator>Topper</dc:creator>
		<pubDate>Tue, 24 Mar 2009 12:29:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.toppingdesign.com/2009/02/07/deploying-a-rails-app-on-a-suburi/#comment-9573</guid>
		<description>Well... then you&#039;re using mongrel :-).  Actually I was thinking about this problem yesterday. I don&#039;t see a good way except using either your webserver (apache, nginx) or changing your stylesheets.  You *could* do that at build time to keep &#039;em independent while you&#039;re developing.</description>
		<content:encoded><![CDATA[<p>Well&#8230; then you&#8217;re using mongrel <img src='http://blog.toppingdesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> .  Actually I was thinking about this problem yesterday. I don&#8217;t see a good way except using either your webserver (apache, nginx) or changing your stylesheets.  You *could* do that at build time to keep &#8216;em independent while you&#8217;re developing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JosÃ© Ignacio</title>
		<link>http://blog.toppingdesign.com/2009/02/07/deploying-a-rails-app-on-a-suburi/comment-page-1/#comment-9572</link>
		<dc:creator>JosÃ© Ignacio</dc:creator>
		<pubDate>Tue, 24 Mar 2009 12:16:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.toppingdesign.com/2009/02/07/deploying-a-rails-app-on-a-suburi/#comment-9572</guid>
		<description>Unlike running Mongrel with --prefix, with your solution image URI&#039;s in stylesheets will be broken. How to solve that?</description>
		<content:encoded><![CDATA[<p>Unlike running Mongrel with &#8211;prefix, with your solution image URI&#8217;s in stylesheets will be broken. How to solve that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

