Browse files

Merge pull request #22 from dleavitt/patch-1

Added a note about YAML merges and Psych
  • Loading branch information...
2 parents e8b5dea + 9aba028 commit e9ba79839cf9a9a69b63656b93037c6a2b9d8d68 @binarylogic committed Jan 6, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.rdoc
@@ -65,6 +65,12 @@ Using a namespace allows us to change our configuration depending on our environ
<<: *defaults
+_Note_: Certain Ruby/Bundler versions include a version of the Psych YAML parser which incorrectly handles merges (the `<<` in the example above.)
+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:
+ require 'yaml'
+ YAML::ENGINE.yamler= 'syck'
=== 3. Access your settings
>> Rails.env

0 comments on commit e9ba798

Please sign in to comment.