Don't require 'complex' and 'rational' libs in Ruby 1.9 - they're in core already
This commit is contained in:
parent
b541972bdc
commit
57d95c9ab3
@ -1,8 +1,11 @@
|
||||
# encoding:utf-8
|
||||
require './test/test_helper'
|
||||
|
||||
if RUBY_VERSION < '1.9'
|
||||
require 'complex'
|
||||
require 'bigdecimal'
|
||||
require 'rational'
|
||||
end
|
||||
require 'bigdecimal'
|
||||
|
||||
begin
|
||||
require 'active_support/core_ext'
|
||||
|
Loading…
Reference in New Issue
Block a user