sshkit Questions
3
I want mark the current deployed directory with my release number.
I tried this approach:
Get locally the app version, store it into a variable, and on the remote host, store it in a file.
na...
Rauch asked 3/1, 2014 at 9:5
1
Solved
On SSHkit-Github it's says:
All backends support the execute(*args), test(*args) & capture(*args)
From SSHkit-Rubydoc, I understand that execute is actually an alias to test?
What is the ...
Destined asked 21/9, 2015 at 16:41
2
In Capistrano 2.x you could simply add :on_error => :continue like this:
task :bad_script, :on_error => :continue do
my_error = capture('/path/to/tomcat/shutdown.sh')
end
I don't see any way...
Renfrow asked 14/1, 2014 at 20:59
1
Solved
Deploying with Capistrano fail during rake assets:precompile:
/usr/local/rvm/bin/rvm ruby-2.0.0-p353 do bundle exec rake assets:precompile
The Prompt Respond with this error:
INFO [b438501f] Ru...
Sulph asked 8/4, 2014 at 6:50
1
Solved
I've set my Capistrano configuration's log level to error to prevent verbose output. In deploy.rb I've added set :log_level, :error. This works great. However, when I run commands via execute, it i...
Quinquefid asked 24/2, 2014 at 1:21
1
Solved
I have following cap3 task
task :gemset do
on roles(:all) do
if remote_dir_exists?(".rvm")
execute :rvm, :gemset, :use, "#{ Configs.rvm.ruby }@#{ Configs.rvm.gemset } --create"
else
info "RVM...
Phagy asked 26/1, 2014 at 7:18
1
© 2022 - 2024 — McMap. All rights reserved.