Sorry in advance, I'm not sure as this is on topic, but I'm having
trouble doing a capistrano-2.5.9 cold deployment on HostGator using
passenger-2.2.5 with set :repository,  "git://github.com/WSimacek/
learning-rails-sample-app.git".

Here's my deploy.rb:

default_run_options[:pty] = true
 set :use_sudo, false

 set :application, "csm"
 set :deploy_to, "apps/#{application}"

 role :web, "74.52.68.76"                          # Your HTTP server,
Apache/etc
 role :app, "74.52.68.76"                          # This may be the
same as your `Web` server
 role :db,  "74.52.68.76", :primary => true        # This is where
Rails migrations will run
 # role :db,  "your slave db-server here"

 set :repository,  "git://github.com/WSimacek/learning-rails-sample-
app.git"
 ssh_options[:port] = 2222
 set :scm, "git"
 set :branch, "master"
 set :deploy_via, :remote_cache

 set :user, "wsimacek"
 set :admin_runner, "wsimacek"



 # If you are using Passenger mod_rails uncomment this:
 # if you're still using the script/reapear helper you will need
 # these http://github.com/rails/irs_process_scripts

 namespace :deploy do
   desc "Restart Application"
   task :restart, :roles => :app, :except => { :no_release => true }
do
     run "#{try_sudo} touch #{File.join
(current_path,'tmp','restart.txt')}"
   end
   desc "Start Application -- not needed for Passenger"
   task :start, :roles => :app do
     # nothing -- need to override default cap start task when using
Passenger
   end
 end

=========
I ran a cap:deploy:check and the results were positive:

wayne-simaceks-macbook-pro:learning-rails-sample-app wjsimacek$ cap
deploy:check  * executing `deploy:check'
 * executing "test -d apps/csm/releases"
   servers: ["74.52.68.76"]
Password:
   [74.52.68.76] executing command
   command finished
 * executing "test -w apps/csm"
   servers: ["74.52.68.76"]
   [74.52.68.76] executing command
   command finished
 * executing "test -w apps/csm/releases"
   servers: ["74.52.68.76"]
   [74.52.68.76] executing command
   command finished
 * executing "which git"
   servers: ["74.52.68.76"]
   [74.52.68.76] executing command
   command finished
 * executing "test -w apps/csm/shared"
   servers: ["74.52.68.76"]
   [74.52.68.76] executing command
   command finished
You appear to have all necessary dependencies installed
====================
Here's the early part of my console logging on the cap deploy:cold:

wayne-simaceks-macbook-pro:learning-rails-sample-app wjsimacek$ cap
deploy:cold
 * executing `deploy:cold'
 * executing `deploy:update'
** transaction: start
 * executing `deploy:update_code'
   updating the cached checkout on all servers
   executing locally: "git ls-remote 
git://github.com/WSimacek/learning-rails-sample-app.git
master"
/usr/local/git/bin/git
 * executing "if [ -d apps/csm/shared/cached-copy ]; then cd apps/csm/
shared/cached-copy && git fetch -q origin && git reset -q --hard
f52a90981a83b9af4b0822629bb1e1d2c62da9ae && git clean -q -d -x -f;
else git clone -q git://github.com/WSimacek/learning-rails-sample-app.git
apps/csm/shared/cached-copy && cd apps/csm/shared/cached-copy && git
checkout -q -b deploy f52a90981a83b9af4b0822629bb1e1d2c62da9ae; fi"
   servers: ["74.52.68.76"]
Password:
   [74.52.68.76] executing command
** [74.52.68.76 :: out] sh: git: command not found



Any suggestions would be greatly appreciated.
Thanks,
Wayne



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GitHub" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/github?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to