Test RUBY_VERSION rather than VERSION (which no longer exists in 1.9).
This commit is contained in:
parent
509e1e5a91
commit
faa8a6c5b3
|
@ -1,6 +1,6 @@
|
|||
require 'ffi'
|
||||
|
||||
if VERSION =~ /^1.8/
|
||||
if RUBY_VERSION =~ /^1.8/
|
||||
require 'process_shared/define_singleton_method'
|
||||
|
||||
module ProcessShared
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'rubygems' if VERSION =~ /^1.8/
|
||||
require 'rubygems' if RUBY_VERSION =~ /^1.8/
|
||||
gem 'minitest'
|
||||
require 'minitest/spec'
|
||||
require 'minitest/autorun'
|
||||
|
|
Loading…
Reference in New Issue