lib/fulmar/shell.rb in fulmar-shell-1.5.1 vs lib/fulmar/shell.rb in fulmar-shell-1.5.2
- old
+ new
@@ -3,11 +3,11 @@
# This shell is part of the fulmar deployment tools
# it can be used stand-alone, though
module Fulmar
# Implements simple access to shell commands
class Shell
- VERSION = '1.5.1'
+ VERSION = '1.5.2'
attr_accessor :debug, :last_output, :last_error, :quiet, :strict
attr_reader :path
def initialize(path = '.', host = 'localhost')
@@ -57,10 +57,10 @@
end
protected
def clean_environment
- "env -i HOME=\"#{ENV['HOME']}\" bash -lc"
+ "env -i HOME=\"#{ENV['HOME']}\" LANG=\"#{ENV['LANG']}\" bash -lc"
end
# Run the command and capture the output
def execute(command, error_message)
# Ladies and gentleman: More debug, please!