Test RUBY_VERSION rather than VERSION (which no longer exists in 1.9).

This commit is contained in:
Patrick Mahoney committed 2011-12-12 21:38:47 -06:00
1 parent 509e1e5a91
commit faa8a6c5b3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
require 'ffi'
if VERSION =~ /^1.8/
if RUBY_VERSION =~ /^1.8/
require 'process_shared/define_singleton_method'
module ProcessShared