From b0879dd88019daeee616c4c7cd2f75c78641fecc Mon Sep 17 00:00:00 2001
From: vidkun <vidkun.torvald@gmail.com>
Date: Sat, 4 Jun 2011 19:50:09 -0700
Subject: [PATCH] Changed yaml parser to work around bug #1120

---
 config/boot.rb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/config/boot.rb b/config/boot.rb
index 02c15be66c..4d71749774 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
-- 
GitLab