From 949423ccda4d9dc931791041e981c058e399f46d Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Sat, 3 Sep 2011 19:52:39 -0700 Subject: [PATCH] Make YAML::ENGINE syck under ruby 1.9 to fix travis 1.9 build issue --- config/boot.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/boot.rb b/config/boot.rb index fe6375db2..7ffec08ff 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -2,6 +2,11 @@ # licensed under the Affero General Public License version 3 or later. See # the COPYRIGHT file. +if RUBY_VERSION.include?("1.9") + require 'yaml' + YAML::ENGINE.yamler= 'syck' +end + require 'rubygems' # Set up gems listed in the Gemfile.