Merge pull request #653 from vidkun/master

Bug #1120 - fixes ruby 1.9.2's unfortunate choice of default parser.
This commit is contained in:
Sarah Mei 2011-06-04 20:00:29 -07:00
commit f0eeb17562

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'