Skip to content

Commit

Permalink
Comment the psych hack
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviershay committed Feb 9, 2011
1 parent f85b826 commit 582af93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/application.rb
Expand Up @@ -2,6 +2,9 @@

require 'rails/all'

# Bundler 1.0.10 incorrectly activates the new experimental Psych YAML parser
# in 1.9.2, which breaks on RedCloth. This hack reverts it, but can be removed
# once it is all sorted out. The const_defined check is required for 1.8.7 compat.
YAML::ENGINE.yamler = "syck" if YAML.const_defined?("ENGINE")

# If you have a Gemfile, require the gems listed there, including any gems
Expand Down

0 comments on commit 582af93

Please sign in to comment.