Skip to content

Commit

Permalink
use syck in 1.9
Browse files Browse the repository at this point in the history
psych and OrderedHash in Rails 2.3 don't seem to
get along very well.
  • Loading branch information
john muhl committed Oct 30, 2011
1 parent 5ca504f commit 618e3d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/environment.rb
Expand Up @@ -9,6 +9,8 @@

require 'radius'

YAML::ENGINE.yamler = 'syck' if RUBY_VERSION =~ /1.9/

Radiant::Initializer.run do |config|
# Skip frameworks you're not going to use (only works if using vendor/rails).
# To use Rails without a database, you must remove the Active Record framework
Expand Down

0 comments on commit 618e3d2

Please sign in to comment.