diff --git a/config/boot.rb b/config/boot.rb index 02c15be66..4d7174977 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -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' \ No newline at end of file