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:
commit
f0eeb17562
1 changed files with 6 additions and 0 deletions
|
|
@ -15,3 +15,9 @@ rescue Bundler::GemNotFound => e
|
||||||
STDERR.puts "Try running `bundle install`."
|
STDERR.puts "Try running `bundle install`."
|
||||||
exit!
|
exit!
|
||||||
end if File.exist?(gemfile)
|
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