Don't require 'complex' and 'rational' libs in Ruby 1.9 - they're in core already

This commit is contained in:
Wojciech Piekutowski 2011-02-20 15:37:31 +01:00
parent b541972bdc
commit 57d95c9ab3

View File

@ -1,8 +1,11 @@
# encoding:utf-8 # encoding:utf-8
require './test/test_helper' require './test/test_helper'
if RUBY_VERSION < '1.9'
require 'complex' require 'complex'
require 'bigdecimal'
require 'rational' require 'rational'
end
require 'bigdecimal'
begin begin
require 'active_support/core_ext' require 'active_support/core_ext'