From d629915c6584a02602e3a1dc3a82c183660c255a Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sun, 9 Oct 2011 21:27:08 +0800 Subject: [PATCH] slight tidy --- config/environment.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/environment.rb b/config/environment.rb index c6d49c6..fcaef1a 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,8 +1,8 @@ # Load the rails application require File.expand_path('../application', __FILE__) -if RUBY_VERSION >'1.9' - require 'yaml' - YAML::ENGINE.yamler= 'syck' +if RUBY_VERSION.to_f >= 1.9 + require 'yaml' + YAML::ENGINE.yamler = 'syck' end # Initialize the rails application Errbit::Application.initialize! -- libgit2 0.21.2