Browse files

ensure pysched_yaml works without rubygems loaded

  • Loading branch information...
1 parent 0171be6 commit afc2ff634e839d008b16ff8254e57d00227477fa @indirect indirect committed Oct 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/psyched_yaml.rb
View
2 lib/bundler/psyched_yaml.rb
@@ -2,7 +2,7 @@
begin
gem 'psych'
rescue Gem::LoadError
-end
+end if defined?(Gem)
# Psych could be a stdlib
begin

0 comments on commit afc2ff6

Please sign in to comment.