<?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: MT GS RoR A-Z: The complete guide to Rails on Media Temple&#8217;s Grid Server</title>
	<atom:link href="http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/</link>
	<description>Flex, Ruby, etc. etc.</description>
	<lastBuildDate>Sat, 06 Feb 2010 21:14:13 -0800</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: rails frustrated</title>
		<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/comment-page-2/#comment-1507</link>
		<dc:creator>rails frustrated</dc:creator>
		<pubDate>Fri, 08 Jan 2010 02:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/#comment-1507</guid>
		<description>Been unable to deploy rails app for a few weeks now.. feels like a month. After running &quot;cap deploy:update_code&quot; ..i get this error...

cap deploy:update_code
  * executing `deploy:update_code&#039;
    executing locally: &quot;svn info svn+ssh://{USER}@{DOMAIN}/home/{SITE}/data/svnrepos/{APP}/trunk  -rHEAD&quot;
checking for svn... yes
  * refreshing local cache to revision 5 at C:/Users/raw/AppData/Local/Temp/{APP}
    executing locally: svn update -q -r5 C:\Users\raw\AppData\Local\Temp\{APP}
  * copying cache to deployment staging area C:/Users/raw/AppData/Local/Temp/20100104184810
    compressing C:/Users/raw/AppData/Local/Temp/20100104184810 to C:/Users/raw/AppData/Local/Temp/20100104184810.tar.gz
    executing locally: tar czf 20100104184810.tar.gz 20100104184810
    servers: [&quot;s{SITE}.gridserver.com&quot;]
 ** sftp upload C:/Users/raw/AppData/Local/Temp/20100104184810.tar.gz -&gt; /tmp/20100104184810.tar.gz
C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:156:in `[]=&#039;: undefined method `[]=&#039; for nil:NilClass (NoMethodError)
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:207:in `handle_error&#039;
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:48:in `process!&#039;
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:43:in `loop&#039;
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:43:in `process!&#039;
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:11:in `process&#039;
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/configuration/actions/file_transfer.rb:40:in `transfer&#039;
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/configuration/connections.rb:172:in `execute_on_servers&#039;
    from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `each_slice&#039;
     ... 19 levels...
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/cli/execute.rb:14:in `execute&#039;
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/bin/cap:4
    from C:/Ruby/bin/cap:19:in `load&#039;
    from C:/Ruby/bin/cap:19</description>
		<content:encoded><![CDATA[<p>Been unable to deploy rails app for a few weeks now.. feels like a month. After running &#8220;cap deploy:update_code&#8221; ..i get this error&#8230;</p>
<p>cap deploy:update_code<br />
  * executing `deploy:update_code&#8217;<br />
    executing locally: &#8220;svn info svn+ssh://{USER}@{DOMAIN}/home/{SITE}/data/svnrepos/{APP}/trunk  -rHEAD&#8221;<br />
checking for svn&#8230; yes<br />
  * refreshing local cache to revision 5 at C:/Users/raw/AppData/Local/Temp/{APP}<br />
    executing locally: svn update -q -r5 C:\Users\raw\AppData\Local\Temp\{APP}<br />
  * copying cache to deployment staging area C:/Users/raw/AppData/Local/Temp/20100104184810<br />
    compressing C:/Users/raw/AppData/Local/Temp/20100104184810 to C:/Users/raw/AppData/Local/Temp/20100104184810.tar.gz<br />
    executing locally: tar czf 20100104184810.tar.gz 20100104184810<br />
    servers: ["s{SITE}.gridserver.com"]<br />
 ** sftp upload C:/Users/raw/AppData/Local/Temp/20100104184810.tar.gz -&gt; /tmp/20100104184810.tar.gz<br />
C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:156:in `[]=&#8217;: undefined method `[]=&#8217; for nil:NilClass (NoMethodError)<br />
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:207:in `handle_error&#8217;<br />
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:48:in `process!&#8217;<br />
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:43:in `loop&#8217;<br />
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:43:in `process!&#8217;<br />
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/transfer.rb:11:in `process&#8217;<br />
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/configuration/actions/file_transfer.rb:40:in `transfer&#8217;<br />
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/configuration/connections.rb:172:in `execute_on_servers&#8217;<br />
    from C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `each_slice&#8217;<br />
     &#8230; 19 levels&#8230;<br />
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/lib/capistrano/cli/execute.rb:14:in `execute&#8217;<br />
    from C:/Ruby/lib/ruby/gems/1.8/gems/capistrano-2.5.10/bin/cap:4<br />
    from C:/Ruby/bin/cap:19:in `load&#8217;<br />
    from C:/Ruby/bin/cap:19</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike S.</title>
		<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/comment-page-2/#comment-413</link>
		<dc:creator>Mike S.</dc:creator>
		<pubDate>Fri, 20 Mar 2009 03:20:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/#comment-413</guid>
		<description>I got it working by changing the RUBYLIB on line 4 of mt-capistrano.rb to: RUBYLIB=/home/#{site}/data/rubygems/lib</description>
		<content:encoded><![CDATA[<p>I got it working by changing the RUBYLIB on line 4 of mt-capistrano.rb to: RUBYLIB=/home/#{site}/data/rubygems/lib</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diigo&#8217; the week (weekly) &#187; The Bipeds&#8217; Monitor</title>
		<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/comment-page-2/#comment-414</link>
		<dc:creator>Diigo&#8217; the week (weekly) &#187; The Bipeds&#8217; Monitor</dc:creator>
		<pubDate>Sun, 22 Feb 2009 00:38:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/#comment-414</guid>
		<description>[...] Vixiom Axioms » MT GS RoR A-Z: The complete guide to Rails on Media Temple’s Grid Server [...]</description>
		<content:encoded><![CDATA[<p>[...] Vixiom Axioms » MT GS RoR A-Z: The complete guide to Rails on Media Temple’s Grid Server [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kscott</title>
		<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/comment-page-2/#comment-407</link>
		<dc:creator>kscott</dc:creator>
		<pubDate>Thu, 27 Nov 2008 23:50:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/#comment-407</guid>
		<description>@Tom - thanks for your help.

I&#039;m having a similar issue to vvan - when I try to run deploy:migrate, I get:

/home/###/data/rubygems/gems/bin/rake:9:in `require&#039;: no such file to load -- rubygems
(LoadError)
from /home/###/data/rubygems/gems/bin/rake:9
    command finished

I&#039;ve followed Ryan&#039;s advice in #81 - no typos. The environments were slightly different by a folder, so I changed it - one referred to /gems and it should have been /lib, but that doesn&#039;t seem to fix it.

Can anyone tell if this is an issue with mt-capistrano, or on the server itself? It seems like its on the server, but of course I&#039;m not so sure what I&#039;m doing so who knows! Every other command seems to work fine, except for this one.</description>
		<content:encoded><![CDATA[<p>@Tom &#8211; thanks for your help.</p>
<p>I&#8217;m having a similar issue to vvan &#8211; when I try to run deploy:migrate, I get:</p>
<p>/home/###/data/rubygems/gems/bin/rake:9:in `require&#8217;: no such file to load &#8212; rubygems<br />
(LoadError)<br />
from /home/###/data/rubygems/gems/bin/rake:9<br />
    command finished</p>
<p>I&#8217;ve followed Ryan&#8217;s advice in #81 &#8211; no typos. The environments were slightly different by a folder, so I changed it &#8211; one referred to /gems and it should have been /lib, but that doesn&#8217;t seem to fix it.</p>
<p>Can anyone tell if this is an issue with mt-capistrano, or on the server itself? It seems like its on the server, but of course I&#8217;m not so sure what I&#8217;m doing so who knows! Every other command seems to work fine, except for this one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/comment-page-2/#comment-406</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Wed, 19 Nov 2008 21:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/#comment-406</guid>
		<description>@vvan - I am using Rails 2.1.0 as well. Looks like you may have hit my typo that Tom Harvey noted in comment 78. (It&#039;s #{site} not {#site})

If that doesn&#039;t fix it, check your RUBYLIB environment variable on the server (echo $RUBYLIB) and make sure that whatever rubygems paths are in there are mirrored in mt-capistrano.rb in the RUBYLIB= statement</description>
		<content:encoded><![CDATA[<p>@vvan &#8211; I am using Rails 2.1.0 as well. Looks like you may have hit my typo that Tom Harvey noted in comment 78. (It&#8217;s #{site} not {#site})</p>
<p>If that doesn&#8217;t fix it, check your RUBYLIB environment variable on the server (echo $RUBYLIB) and make sure that whatever rubygems paths are in there are mirrored in mt-capistrano.rb in the RUBYLIB= statement</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JimW</title>
		<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/comment-page-2/#comment-412</link>
		<dc:creator>JimW</dc:creator>
		<pubDate>Mon, 17 Nov 2008 19:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/#comment-412</guid>
		<description>&quot;RubyGems will revert to legacy indexes degrading performance.&quot;
As was mentioned by KScott above, and not really addressed, I&#039;m not clear on what this means.
How is performance degraded?</description>
		<content:encoded><![CDATA[<p>&#8220;RubyGems will revert to legacy indexes degrading performance.&#8221;<br />
As was mentioned by KScott above, and not really addressed, I&#8217;m not clear on what this means.<br />
How is performance degraded?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eiki Martinson</title>
		<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/comment-page-2/#comment-403</link>
		<dc:creator>Eiki Martinson</dc:creator>
		<pubDate>Thu, 06 Nov 2008 17:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/#comment-403</guid>
		<description>Nice tutorial! A minor nitpick, though: I don&#039;t think there&#039;s actually any security benefit to making sure other users can&#039;t read ~/.ssh/authorized_keys (&quot;public keys&quot; can safely be made public). There&#039;s no reason NOT to chmod 600, mind you, but the security of public-key authentication in this case comes entirely from preventing WRITE access to this file (so nobody else can append their own public key), and making sure that the corresponding private key (which of course you never upload to the server) is unreadable.</description>
		<content:encoded><![CDATA[<p>Nice tutorial! A minor nitpick, though: I don&#8217;t think there&#8217;s actually any security benefit to making sure other users can&#8217;t read ~/.ssh/authorized_keys (&#8221;public keys&#8221; can safely be made public). There&#8217;s no reason NOT to chmod 600, mind you, but the security of public-key authentication in this case comes entirely from preventing WRITE access to this file (so nobody else can append their own public key), and making sure that the corresponding private key (which of course you never upload to the server) is unreadable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Harvey</title>
		<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/comment-page-2/#comment-409</link>
		<dc:creator>Tom Harvey</dc:creator>
		<pubDate>Tue, 04 Nov 2008 15:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/#comment-409</guid>
		<description>Nice work Ryan. It&#039;s so much nicer to have cap deploy work. But:

There is a typo in the instructions on what to change in mt-capistrano:

:/home/{#site}/data/rubygems/lib

should read

:/home/#{site}/data/rubygems/lib

with the # outside the {} - a good text editing program will highlight this, but it&#039;s worth noting.</description>
		<content:encoded><![CDATA[<p>Nice work Ryan. It&#8217;s so much nicer to have cap deploy work. But:</p>
<p>There is a typo in the instructions on what to change in mt-capistrano:</p>
<p>:/home/{#site}/data/rubygems/lib</p>
<p>should read</p>
<p>:/home/#{site}/data/rubygems/lib</p>
<p>with the # outside the {} &#8211; a good text editing program will highlight this, but it&#8217;s worth noting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Harvey</title>
		<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/comment-page-2/#comment-404</link>
		<dc:creator>Tom Harvey</dc:creator>
		<pubDate>Tue, 04 Nov 2008 14:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/#comment-404</guid>
		<description>@ K Scott or anyone else having permission denied errors

Here is a really nasty horrible thing to tell a &#039;noob&#039;, but in this case you can&#039;t do much harm ;-)

type sudo before the command and it will be run as the superuser. Ooooh, superuser.

Reaon why this is ad advice is that it should come with the stock warning about you needing to know what your doing cos if you type the wrong thing you can mess up the computer. The computer will usually not let you access things you&#039;re not supposed to mess about with, but if you say you are the superuser, it does whatever you tell it to.

You&#039;ll need your root password to commit any sudo command and on MacOSX you&#039;ll need to enable the root access before you do any of this.</description>
		<content:encoded><![CDATA[<p>@ K Scott or anyone else having permission denied errors</p>
<p>Here is a really nasty horrible thing to tell a &#8216;noob&#8217;, but in this case you can&#8217;t do much harm <img src='http://blog.alastairdawson.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>type sudo before the command and it will be run as the superuser. Ooooh, superuser.</p>
<p>Reaon why this is ad advice is that it should come with the stock warning about you needing to know what your doing cos if you type the wrong thing you can mess up the computer. The computer will usually not let you access things you&#8217;re not supposed to mess about with, but if you say you are the superuser, it does whatever you tell it to.</p>
<p>You&#8217;ll need your root password to commit any sudo command and on MacOSX you&#8217;ll need to enable the root access before you do any of this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vvan</title>
		<link>http://blog.alastairdawson.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/comment-page-2/#comment-405</link>
		<dc:creator>vvan</dc:creator>
		<pubDate>Tue, 21 Oct 2008 11:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vixiom.com/2007/02/18/mt-ror-a-z-the-complete-guide-to-getting-rails-running-on-media-temple/#comment-405</guid>
		<description>@Ryan comment 74, what version is your rails apps? I&#039;m trying to deploy a 2.1.0 with Capistrano 2.4.3 but cant get cap deploy:migrate to work... keeps spitting &quot;no such file to load -- rubygems (LoadError)&quot;

Cheers,</description>
		<content:encoded><![CDATA[<p>@Ryan comment 74, what version is your rails apps? I&#8217;m trying to deploy a 2.1.0 with Capistrano 2.4.3 but cant get cap deploy:migrate to work&#8230; keeps spitting &#8220;no such file to load &#8212; rubygems (LoadError)&#8221;</p>
<p>Cheers,</p>
]]></content:encoded>
	</item>
</channel>
</rss>
