spec/spec_helper.rb in asir_zmq-1.1.1 vs spec/spec_helper.rb in asir_zmq-1.2.0
- old
+ new
@@ -1,8 +1,12 @@
require 'rubygems'
$:.unshift File.expand_path('../../lib', __FILE__)
-gem 'asir'
+if p = ENV['ASIR_LIB_PATH']
+ $:.unshift File.expand_path(p)
+else
+ gem 'asir'
+end
require 'asir'
module ASIR
module Test
class TestError < ::Exception; end