test/testbincue.rb in rb_cdio-0.1.1 vs test/testbincue.rb in rb_cdio-0.2.0
- old
+ new
@@ -1,5 +1,10 @@
-require "../ext/rb_cdio"
+if(File::exists?("../ext/rb_cdio.so"))
+ require "../ext/rb_cdio"
+else
+ require 'rubygems'
+ require_gem "rb_cdio",">=0.2"
+end
require 'test/unit'
class Testbincue < Test::Unit::TestCase
def setup
@data = File.dirname(__FILE__)+"/data"