Test RUBY_VERSION rather than VERSION (which no longer exists in 1.9).
This commit is contained in:
1 parent
509e1e5a91
commit
faa8a6c5b3
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
require 'ffi'
|
||||
|
||||
if VERSION =~ /^1.8/
|
||||
if RUBY_VERSION =~ /^1.8/
|
||||
require 'process_shared/define_singleton_method'
|
||||
|
||||
module ProcessShared
|
||||
|
||||
Reference in new issue
Block a user