buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1333688 - /buildr/trunk/Rakefile
Date Thu, 03 May 2012 23:50:35 GMT
Author: donaldp
Date: Thu May  3 23:50:35 2012
New Revision: 1333688

URL: http://svn.apache.org/viewvc?rev=1333688&view=rev
Log:
Only use psych yml library for ruby versions 1.9.2 or later

Modified:
    buildr/trunk/Rakefile

Modified: buildr/trunk/Rakefile
URL: http://svn.apache.org/viewvc/buildr/trunk/Rakefile?rev=1333688&r1=1333687&r2=1333688&view=diff
==============================================================================
--- buildr/trunk/Rakefile (original)
+++ buildr/trunk/Rakefile Thu May  3 23:50:35 2012
@@ -14,7 +14,7 @@
 # the License.
 
 # To work-around a bug with gemcutter: http://stackoverflow.com/questions/4932881/gemcutter-rake-build-now-throws-undefined-method-write-for-syckemitter
-require 'psych' unless RUBY_PLATFORM[/java/]
+require 'psych' if RUBY_VERSION >= '1.9.2' && !RUBY_PLATFORM[/java/]
 
 # We need JAVA_HOME for most things (setup, spec, etc).
 unless ENV['JAVA_HOME']



Mime
View raw message