Changed yaml parser to work around bug #1120

This commit is contained in:
vidkun 2011-06-04 19:50:09 -07:00
parent 5314e27e78
commit b0879dd880

View file

@ -15,3 +15,9 @@ rescue Bundler::GemNotFound => e
STDERR.puts "Try running `bundle install`."
exit!
end if File.exist?(gemfile)
# Use older yaml parser to fix issues with
# db:create and db:migrate failing with empty database
# See bug #1120
require 'yaml'
YAML::ENGINE.yamler= 'syck'