diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-11-29 12:29:42 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-11-29 12:29:42 +0000 |
commit | 17d1c60fad6c34c7ddd9d9c5987293c1ac3e63ce (patch) | |
tree | f044148077075953c7f2d620e2079b30d5fe3dd1 | |
parent | 80b12ef56782a11a18b633647cead4847c55c9ab (diff) |
Set YAML engine to syck in Ruby 1.9 for backward compatibility with 1.8
-rw-r--r-- | config/environment.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environment.rb b/config/environment.rb index e79efdcfa..5670aed0b 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -9,6 +9,8 @@ if RUBY_VERSION.to_f >= 1.9 require 'active_support/inflector' # Activate warning messages again. $VERBOSE = original_verbose + require 'yaml' + YAML::ENGINE.yamler = "syck" end # Uncomment below to force Rails into production mode when |