aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/psyched_yaml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/psyched_yaml.rb')
-rw-r--r--lib/bundler/psyched_yaml.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/psyched_yaml.rb b/lib/bundler/psyched_yaml.rb
index 7ce3bb94..46398057 100644
--- a/lib/bundler/psyched_yaml.rb
+++ b/lib/bundler/psyched_yaml.rb
@@ -1,19 +1,19 @@
# Psych could be a gem, so try to ask for it
begin
- gem 'psych'
+ gem "psych"
rescue LoadError
end if defined?(gem)
# Psych could just be in the stdlib
# but it's too late if Syck is already loaded
begin
- require 'psych' unless defined?(Syck)
+ require "psych" unless defined?(Syck)
rescue LoadError
# Apparently Psych wasn't available. Oh well.
end
# At least load the YAML stdlib, whatever that may be
-require 'yaml' unless defined?(YAML.dump)
+require "yaml" unless defined?(YAML.dump)
module Bundler
# On encountering invalid YAML,