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.
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  #
8
8
  # TODO: Remove Config.repository in 0.3
9
9
  #
10
- s.version = '0.4.0.beta2'
10
+ s.version = '0.4.0.beta3'
11
11
 
12
12
  s.authors = ["Felipe Kaufmann"]
13
13
  s.email = ["felipekaufmann@gmail.com"]
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blazing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.beta2
4
+ version: 0.4.0.beta3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: