lib/fulmar/infrastructure/service/ssh_config_service.rb in fulmar-1.9.1 vs lib/fulmar/infrastructure/service/ssh_config_service.rb in fulmar-1.9.2

- old
+ new

@@ -75,10 +75,10 @@ config_file.puts "\n" # Add some space between this and the second last entry config_file.puts "# Automatically generated by fulmar for project #{@config.project.description}" config_file.puts "Host #{hostname}" CONFIG_MAP.keys.each do |key| unless ssh_config[key].blank? - config_file.puts " #{CONFIG_MAP[key]} \"#{ssh_config[key].gsub('"', '\\"')}\"" + config_file.puts " #{CONFIG_MAP[key]} \"#{ssh_config[key].to_s.gsub('"', '\\"')}\"" end end config_file.close end