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'
|
||||
require 'complex'
|
||||
|
||||
if RUBY_VERSION < '1.9'
|
||||
require 'complex'
|
||||
require 'rational'
|
||||
end
|
||||
require 'bigdecimal'
|
||||
require 'rational'
|
||||
|
||||
begin
|
||||
require 'active_support/core_ext'
|
||||
|
|
Loading…
Reference in New Issue