lib/crazy_ivan/vendor/open4.rb in crazy_ivan-1.0.0 vs lib/crazy_ivan/vendor/open4.rb in crazy_ivan-1.1.0
- old
+ new
@@ -1,10 +1,6 @@
-# Prefer gems to the bundled libs.
-require 'rubygems'
-
begin
- gem 'open4', '>= 1.0.1'
+ require 'open4'
rescue LoadError
- $:.unshift "#{File.dirname(__FILE__)}/open4-1.0.1"
-end
-
-require 'open4'
+ $LOAD_PATH.unshift(File.dirname(__FILE__) + '/open4-1.0.1/lib')
+ require 'open4.rb'
+end
\ No newline at end of file