title: Installing rails w/ mongrel cluster on Media Temple DV Server
body: <p>First, I'm a complete newb to rails - I've been trying to get my feet wet, but ran into some trouble here.</p>
  
  <p>I've followed <a href="http://kb.mediatemple.net/questions/279/Ruby+on+Rails+using+Mongrel+Clusters" rel="nofollow noreferrer">http://kb.mediatemple.net/questions/279/Ruby+on+Rails+using+Mongrel+Clusters</a> to install rails, everything worked except one of the last steps:</p>
  
  <p>"cp /var/www/vhosts/testapp.mt-example.com/rails/testapp/public/.htaccess /var/www/vhosts/testapp.mt-example.com/rails/testapp/public/.htaccess.old &amp;&amp; echo 'ErrorDocument 500 "Application error Rails application failed to start properly"' > /var/www/vhosts/testapp.mt-example.com/rails/testapp/public/.htaccess"</p>
  
  <p>It returns: "
  cp: cannot stat `/var/www/vhosts/myurl.com/rails/myapp/public/.htaccess': No such file or directory
  "</p>
  
  <p>When I access the domain, rails seems to work - but when I click "about your application's environment" i get "
  We're sorry, but something went wrong.</p>
  
  <p>We've been notified about this issue and we'll take a look at it shortly."</p>
  
  <p>I then setup some quick scaffolds just to see what was going on, received the same messages when accessing those pages from the browser.</p>
  
  <p>Thanks in advance for any help!</p>