Make YAML::ENGINE syck under ruby 1.9 to fix travis 1.9 build issue
This commit is contained in:
parent
6642ee2047
commit
949423ccda
1 changed files with 5 additions and 0 deletions
|
|
@ -2,6 +2,11 @@
|
||||||
# licensed under the Affero General Public License version 3 or later. See
|
# licensed under the Affero General Public License version 3 or later. See
|
||||||
# the COPYRIGHT file.
|
# the COPYRIGHT file.
|
||||||
|
|
||||||
|
if RUBY_VERSION.include?("1.9")
|
||||||
|
require 'yaml'
|
||||||
|
YAML::ENGINE.yamler= 'syck'
|
||||||
|
end
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
|
|
||||||
# Set up gems listed in the Gemfile.
|
# Set up gems listed in the Gemfile.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue