--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/07aa0218-f85d-469a-9f60-2544a7465401%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
afrosamurai:sync[capistrano]$ bundle exec cap production deploy
Text will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text.
Password:**********
DEBUG Uploading /tmp/git-ssh.sh 0.0%
INFO Uploading /tmp/git-ssh.sh 100.0%
INFO [73e91495] Running /usr/bin/env chmod +x /tmp/git-ssh.sh on enterprise.domain.com
DEBUG [73e91495] Command: /usr/bin/env chmod +x /tmp/git-ssh.sh
INFO [73e91495] Finished in 0.347 seconds with exit status 0 (successful).
cap aborted!
administrator
/Users/vmcilwain/.rvm/gems/ruby-2.0.0-p247/gems/net-ssh-2.7.0/lib/net/ssh.rb:215:in `start'
/Users/vmcilwain/.rvm/gems/ruby-2.0.0-p247/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:156:in `ssh'
/Users/vmcilwain/.rvm/gems/ruby-2.0.0-p247/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:68:in `upload!'
/Users/vmcilwain/.rvm/gems/ruby-2.0.0-p247/gems/capistrano-3.0.0/lib/capistrano/tasks/git.rake:11:in `block (3 levels) in <top (required)>'
/Users/vmcilwain/.rvm/gems/ruby-2.0.0-p247/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:42:in `instance_exec'
/Users/vmcilwain/.rvm/gems/ruby-2.0.0-p247/gems/sshkit-1.1.0/lib/sshkit/backends/netssh.rb:42:in `run'
/Users/vmcilwain/.rvm/gems/ruby-2.0.0-p247/gems/sshkit-1.1.0/lib/sshkit/runners/parallel.rb:12:in `block (2 levels) in execute'
Tasks: TOP => git:check => git:wrapper
(See full trace by running task with --trace)
Lots of stuff on capistranorb.com!
On Sunday, December 8, 2013, Vell wrote:
Versions:--
- Ruby 2.0.0-p247
- Capistrano 3.0.1
- Rake / Rails / etc (unsure about this question. its a simple ruby application)
Platform:Logs:
- Working on.... Mac OS X 10.9
- Deploying to... Mac OS X 10.7
- I don't have any logs as of yet
Files:
- Capfile
- deploy.rb
- Stage files (production.rb, staging.rb)
I have used capistrano 2 to deploy rails apps. I have not had to do that in a long time. I am trying to deploy a simple ruby application that I have created using the GLI gem but I can't seem to get a handle on the changes from capistrano 2 to capistrano 3. What happened me with capistrano 2 when I first started using it was this page on the capistrano github wiki https://github.com/capistrano/capistrano/wiki/2.x-from-the-beginning . Is there a page like this for capistrano 3? Something detailed and step by step that will help me understand things as I go along?
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/07aa0218-f85d-469a-9f60-2544a7465401%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
set :application, 'my_sync'
set :repo_url, 'http://gitserv.domain.com/dba/my_sync'
# ask :branch, proc { `git rev-parse --abbrev-ref HEAD`.chomp }
set :deploy_to, '/users/administrator/scripts/my_sync'
set :scm, :git
# set :format, :pretty
# set :log_level, :debug
# set :pty, true
# set :linked_files, %w{config/database.yml}
# set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system}
# set :default_env, { path: "/opt/ruby/bin:$PATH" }
set :keep_releases, 3
namespace :deploy do
desc 'Restart application'
task :restart do
on roles(:app), in: :sequence, wait: 5 do
# Your restart mechanism here, for example:
# execute :touch, release_path.join('tmp/restart.txt')
end
end
after :restart, :clear_cache do
on roles(:web), in: :groups, limit: 3, wait: 10 do
# Here we can do anything such as:
# within release_path do
# execute :rake, 'cache:clear'
# end
end
end
after :finishing, 'deploy:cleanup'
endset :stage, :production
role :app, %w{administrator@server.domain.com}
server 'server.domain.com', user: 'administrator', roles: %w{app} #, my_property: :my_valueTo view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/e1768e72-d141-4165-99c4-099ce0c2e858%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
$: cap production deploy:check
Text will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text.
Password:*******
DEBUG Uploading /tmp/git-ssh.sh 0.0%
INFO Uploading /tmp/git-ssh.sh 100.0%
INFO [d53988aa] Running /usr/bin/env chmod +x /tmp/git-ssh.sh on server.domain.com
DEBUG [d53988aa] Command: /usr/bin/env chmod +x /tmp/git-ssh.sh
INFO [d53988aa] Finished in 0.268 seconds with exit status 0 (successful).
DEBUG [86656372] Running /usr/bin/env git ls-remote http://gitserv.domain.com/dba/my_sync on server.opnet.com
DEBUG [86656372] Command: ( GIT_ASKPASS=/bin/echo GIT_SSH=/tmp/git-ssh.sh /usr/bin/env git ls-remote http://gitserv.domain.com/dba/my_sync )
Text will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text.
Password:*****
DEBUG [86656372] fatal: http://gitserv.domain.com/dba/my_sync/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?
DEBUG [86656372] Finished in 5.518 seconds with exit status 128 (failed).So this gives me a little bit more data to see whats going on I think.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/d44efdb9-d29d-4a68-a99d-4893cbbfd6f5%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/3735f5d0-d43b-4d95-8e80-ce96ee60d1b3%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/601e10ef-199c-4c5d-957f-fc113665f5ea%40googlegroups.com.
In Git branches, tags, refs are all the same thing!
Sent from my Nexus 4.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/e930c3ef-d3fd-4bab-a828-68aa58e23e52%40googlegroups.com.