blazing 0.4.0.beta2 → 0.4.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- data/blazing.gemspec +1 -1
- data/lib/blazing/commands.rb +1 -1
- metadata +1 -1
data/blazing.gemspec
CHANGED
data/lib/blazing/commands.rb
CHANGED
@@ -50,7 +50,7 @@ module Blazing
|
|
50
50
|
# TODO: Would be nice to detect zsh and use it instead of bash?
|
51
51
|
@targets.each do |target|
|
52
52
|
if @cli_options[:run]
|
53
|
-
system "ssh -t #{target.user}@#{target.host} 'cd #{target.path} && RAILS_ENV=#{target.options[:rails_env]} #{@cli_options[:run]}'"
|
53
|
+
system "ssh -t #{target.user}@#{target.host} 'cd #{target.path} && RAILS_ENV=#{target.options[:rails_env]} bash --login -c \"#{@cli_options[:run]}\"'"
|
54
54
|
else
|
55
55
|
system "ssh -t #{target.user}@#{target.host} 'cd #{target.path} && RAILS_ENV=#{target.options[:rails_env]} bash --login'"
|
56
56
|
end
|