Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use YAML.dump over {}.to_yaml, thanks @tenderlove

  • Loading branch information...
commit e8e20ed34583758de907439ec621f8fb1ea402c4 1 parent 4934ddc
@hone hone authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/bundler/settings.rb
View
2  lib/bundler/settings.rb
@@ -126,7 +126,7 @@ def set_key(key, value, hash, file)
hash.delete(key) if value.nil?
FileUtils.mkdir_p(file.dirname)
require 'bundler/psyched_yaml'
- File.open(file, "w") { |f| f.puts hash.to_yaml }
+ File.open(file, "w") { |f| f.puts YAML.dump(hash) }
end
value
end
Please sign in to comment.
Something went wrong with that request. Please try again.