Skip to content

Commit

Permalink
1.9.2 may not have psych
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://rubyforge.org/var/svn/rubygems/trunk@2511 3d4018f9-ac1a-0410-99e9-8a154d859a19
  • Loading branch information
drbrain committed Apr 22, 2010
1 parent 1224679 commit 4f1d76b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/gemutilities.rb
Expand Up @@ -15,7 +15,10 @@
require 'rubygems/test_utilities'
require 'pp'
require 'yaml'
YAML::ENGINE.yamler = 'psych' if YAML.const_defined? :ENGINE
begin
YAML::ENGINE.yamler = 'psych'
rescue LoadError
end if YAML.const_defined? :ENGINE

begin
gem 'rdoc'
Expand Down

0 comments on commit 4f1d76b

Please sign in to comment.