From 51aa0c139fda1bb89b3063989a510386f673d41f Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Thu, 7 Feb 2013 22:13:26 +1300 Subject: [PATCH] Move "YAML::ENGINE.yamler = 'syck'" to top of environment.rb --- config/environment.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/environment.rb b/config/environment.rb index fcaef1a..136ba7f 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,9 +1,10 @@ -# Load the rails application -require File.expand_path('../application', __FILE__) if RUBY_VERSION.to_f >= 1.9 require 'yaml' YAML::ENGINE.yamler = 'syck' end + +# Load the rails application +require File.expand_path('../application', __FILE__) + # Initialize the rails application Errbit::Application.initialize! - -- libgit2 0.21.2