bin/soloist in soloist-0.0.4 vs bin/soloist in soloist-0.0.5
- old
+ new
@@ -38,10 +38,10 @@
solo_rb = fileify(config_generator.solo_rb)
metadata_json = fileify(config_generator.json_file)
env_vars = ["PATH=#{ENV['PATH']}"]
-%w{BUNDLE_PATH GEM_HOME GEM_PATH RAILS_ENV}.each do |v|
+%w{BUNDLE_PATH GEM_HOME GEM_PATH RAILS_ENV RACK_ENV}.each do |v|
env_vars << "#{v}=#{ENV[v]}" unless ENV[v].nil?
end
command = "sudo bash -c '#{env_vars.join(' ')} chef-solo -j #{metadata_json.path} -c #{solo_rb.path} -l #{log_level}'"
\ No newline at end of file