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'
|
require 'ffi'
|
||||||
|
|
||||||
if VERSION =~ /^1.8/
|
if RUBY_VERSION =~ /^1.8/
|
||||||
require 'process_shared/define_singleton_method'
|
require 'process_shared/define_singleton_method'
|
||||||
|
|
||||||
module ProcessShared
|
module ProcessShared
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require 'rubygems' if VERSION =~ /^1.8/
|
require 'rubygems' if RUBY_VERSION =~ /^1.8/
|
||||||
gem 'minitest'
|
gem 'minitest'
|
||||||
require 'minitest/spec'
|
require 'minitest/spec'
|
||||||
require 'minitest/autorun'
|
require 'minitest/autorun'
|
||||||
|
|
Loading…
Reference in New Issue