Make YAML::ENGINE syck under ruby 1.9 to fix travis 1.9 build issue

This commit is contained in:
Sarah Mei 2011-09-03 19:52:39 -07:00
parent 6642ee2047
commit 949423ccda

View file

@ -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.