Capistrano setup for MediaTemple Grid Server accounts

For the most part these tutorials work

however, some important things to change in the deploy.rb file that you get from http://gems.mediatemple.com/deploy.rb (PAY ATTENTION TO THE ‘%’!)

# ADD THIS!
set :user, "serveradmin%yourdomain.com"set :s_user, "serveradmin%25yourdomain.com"
# THEN REPLACE #{user} WITH #{s_user}
set :repository, "svn+ssh://#{s_user}@#{domain}/home/#{site}/data/gwirepo/greenwaysapp/trunk"

…then your ‘cap update_code’ will work. good luck.by the way, if you are wondering how to redeploy (ie. you’ve changed code and want it on the server), here are the steps:

  1. commit your work to the repository
  2. ‘cap deploy’
  3. there is no step 3 :)

again, good luck…

2 Comments

  • Ryan on January 28, 2007

    If you are ever looking for someone to work with on a Rails application, let me know.

  • Mike on June 24, 2007

    Just wanted to say thanks for posting this solution…

Post a comment