Changed yaml parser to work around bug #1120
This commit is contained in:
parent
5314e27e78
commit
b0879dd880
1 changed files with 6 additions and 0 deletions
|
|
@ -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'
|
||||
Loading…
Reference in a new issue