Commit d629915c6584a02602e3a1dc3a82c183660c255a

Authored by Nathan Broadbent
1 parent 704be910
Exists in master and in 1 other branch production

slight tidy

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
config/environment.rb
1 # Load the rails application 1 # Load the rails application
2 require File.expand_path('../application', __FILE__) 2 require File.expand_path('../application', __FILE__)
3 -if RUBY_VERSION >'1.9'  
4 - require 'yaml'  
5 - YAML::ENGINE.yamler= 'syck' 3 +if RUBY_VERSION.to_f >= 1.9
  4 + require 'yaml'
  5 + YAML::ENGINE.yamler = 'syck'
6 end 6 end
7 # Initialize the rails application 7 # Initialize the rails application
8 Errbit::Application.initialize! 8 Errbit::Application.initialize!