<?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: Mongrel, rails and the theory of relativity</title>
	<atom:link href="http://inodes.org/2007/04/04/mongrel-rails-and-the-theory-of-relativity/feed/" rel="self" type="application/rss+xml" />
	<link>http://inodes.org/2007/04/04/mongrel-rails-and-the-theory-of-relativity/</link>
	<description>Moo - Development, Trouble-shooting and Random thoughts...</description>
	<lastBuildDate>Fri, 20 May 2011 17:36:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: johnf</title>
		<link>http://inodes.org/2007/04/04/mongrel-rails-and-the-theory-of-relativity/comment-page-1/#comment-2514</link>
		<dc:creator>johnf</dc:creator>
		<pubDate>Wed, 22 Apr 2009 07:23:13 +0000</pubDate>
		<guid isPermaLink="false">http://inodes.org/blog/2007/04/04/mongrel-rails-and-the-theory-of-relativity/#comment-2514</guid>
		<description>@marcelo: I&#039;m not familiar with the gruff plugin but it sounds like it&#039;s trying to write the image to disk before it sends it out. It sounds like you need to make the directory it&#039;s writing the files to writable by the webserver.</description>
		<content:encoded><![CDATA[<p>@marcelo: I&#8217;m not familiar with the gruff plugin but it sounds like it&#8217;s trying to write the image to disk before it sends it out. It sounds like you need to make the directory it&#8217;s writing the files to writable by the webserver.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marcelo</title>
		<link>http://inodes.org/2007/04/04/mongrel-rails-and-the-theory-of-relativity/comment-page-1/#comment-2513</link>
		<dc:creator>marcelo</dc:creator>
		<pubDate>Tue, 21 Apr 2009 01:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://inodes.org/blog/2007/04/04/mongrel-rails-and-the-theory-of-relativity/#comment-2513</guid>
		<description>Hi! 

I do it and works perfect!
But, I get some trouble with ImageMagick and Gruff. 
When I write a file, I get a error &quot;Permission denied&quot;.

&quot;Magick::ImageMagickError (unable to open image `classificacao.png&#039;: Permission denied):&quot;

Apparently, this write in a different folder.

Do you have some idea about this?

tks!</description>
		<content:encoded><![CDATA[<p>Hi! </p>
<p>I do it and works perfect!<br />
But, I get some trouble with ImageMagick and Gruff.<br />
When I write a file, I get a error &#8220;Permission denied&#8221;.</p>
<p>&#8220;Magick::ImageMagickError (unable to open image `classificacao.png&#8217;: Permission denied):&#8221;</p>
<p>Apparently, this write in a different folder.</p>
<p>Do you have some idea about this?</p>
<p>tks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: picofarad.org &#187; CruiseControl.rb with Apache as front-end</title>
		<link>http://inodes.org/2007/04/04/mongrel-rails-and-the-theory-of-relativity/comment-page-1/#comment-2449</link>
		<dc:creator>picofarad.org &#187; CruiseControl.rb with Apache as front-end</dc:creator>
		<pubDate>Sun, 04 Jan 2009 00:29:10 +0000</pubDate>
		<guid isPermaLink="false">http://inodes.org/blog/2007/04/04/mongrel-rails-and-the-theory-of-relativity/#comment-2449</guid>
		<description>[...] but setting it doesn&#8217;t change the URLs at all. More head scratching. I finally find the solution! Below is the necessary [...]</description>
		<content:encoded><![CDATA[<p>[...] but setting it doesn&#8217;t change the URLs at all. More head scratching. I finally find the solution! Below is the necessary [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cathal</title>
		<link>http://inodes.org/2007/04/04/mongrel-rails-and-the-theory-of-relativity/comment-page-1/#comment-2404</link>
		<dc:creator>Cathal</dc:creator>
		<pubDate>Mon, 31 Mar 2008 22:16:49 +0000</pubDate>
		<guid isPermaLink="false">http://inodes.org/blog/2007/04/04/mongrel-rails-and-the-theory-of-relativity/#comment-2404</guid>
		<description>To solve the problem with static resources I just made all the references relative. So background-image: url(/images/bg_image.jpg); becomes background-image url(../images/bg_image.jpg); assuming that the &#039;images&#039; directory is at the same level as your &#039;stylesheet&#039; directory.</description>
		<content:encoded><![CDATA[<p>To solve the problem with static resources I just made all the references relative. So background-image: url(/images/bg_image.jpg); becomes background-image url(../images/bg_image.jpg); assuming that the &#8216;images&#8217; directory is at the same level as your &#8216;stylesheet&#8217; directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: salamander</title>
		<link>http://inodes.org/2007/04/04/mongrel-rails-and-the-theory-of-relativity/comment-page-1/#comment-2235</link>
		<dc:creator>salamander</dc:creator>
		<pubDate>Tue, 08 Jan 2008 22:10:55 +0000</pubDate>
		<guid isPermaLink="false">http://inodes.org/blog/2007/04/04/mongrel-rails-and-the-theory-of-relativity/#comment-2235</guid>
		<description>Thanks.  I read elsewhere to put this in environment.rb but I could not figure out how to not have to alter my development setup to accommodate this change. Seems pretty obvious now to put it in production.rb.

But I do have another issue to point out.  relative_url_root was not able to handle my CSS file&#039;s use of an absolute path, like so: 

background-image: url(/images/bg_image.jpg);

So, my background image no longer appears because it&#039;s not able to actually find it in /other_url/images/bg_image.jpg.

Were you able to find a workaround?</description>
		<content:encoded><![CDATA[<p>Thanks.  I read elsewhere to put this in environment.rb but I could not figure out how to not have to alter my development setup to accommodate this change. Seems pretty obvious now to put it in production.rb.</p>
<p>But I do have another issue to point out.  relative_url_root was not able to handle my CSS file&#8217;s use of an absolute path, like so: </p>
<p>background-image: url(/images/bg_image.jpg);</p>
<p>So, my background image no longer appears because it&#8217;s not able to actually find it in /other_url/images/bg_image.jpg.</p>
<p>Were you able to find a workaround?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

