diff options
author | vidkun <vidkun.torvald@gmail.com> | 2011-06-05 06:50:09 +0400 |
---|---|---|
committer | vidkun <vidkun.torvald@gmail.com> | 2011-06-05 06:50:09 +0400 |
commit | b0879dd88019daeee616c4c7cd2f75c78641fecc (patch) | |
tree | b7ff10f3f347e81053811de3694a235e6a2c93c1 /config/boot.rb | |
parent | 5314e27e78196eb6d7123373d79432d74e2f085c (diff) |
Changed yaml parser to work around bug #1120
Diffstat (limited to 'config/boot.rb')
-rw-r--r-- | config/boot.rb | 6 |
1 files changed, 6 insertions, 0 deletions
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 |