Permalink
Browse files

use syck in 1.9

psych and OrderedHash in Rails 2.3 don't seem to
get along very well.
  • Loading branch information...
1 parent 5ca504f commit 618e3d2e402289a422c2b7be7846481bc0091e3f @johnmuhl johnmuhl committed Oct 30, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 config/environment.rb
View
@@ -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

0 comments on commit 618e3d2

Please sign in to comment.