Skip to content
Browse files

load psych by default if possible

  • Loading branch information...
1 parent f55a171 commit 8e6b757dd4036a4407a76533ca08f83d3be2be12 @tenderlove tenderlove committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 activesupport/lib/active_support/ordered_hash.rb
View
5 activesupport/lib/active_support/ordered_hash.rb
@@ -1,3 +1,8 @@
+begin
+ require 'psych'
+rescue LoadError
+end
+
require 'yaml'
YAML.add_builtin_type("omap") do |type, val|

0 comments on commit 8e6b757

Please sign in to comment.
Something went wrong with that request. Please try again.