Commit 9aba028c6355fe38fcd82813b394496240662971

Authored by Daniel Leavitt
1 parent 45197636
Exists in master

Added a note about YAML merges and Psych. Your library is hardly the only one af…

…fected, but I thought it might be worth noting.
Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
README.rdoc
... ... @@ -65,6 +65,12 @@ Using a namespace allows us to change our configuration depending on our environ
65 65 production:
66 66 <<: *defaults
67 67  
  68 +_Note_: Certain Ruby/Bundler versions include a version of the Psych YAML parser which incorrectly handles merges (the `<<` in the example above.)
  69 +If your default settings seem to be overwriting your environment-specific settings, including the following lines in your config/boot.rb file may solve the problem:
  70 +
  71 + require 'yaml'
  72 + YAML::ENGINE.yamler= 'syck'
  73 +
68 74 === 3. Access your settings
69 75  
70 76 >> Rails.env
... ...