lib/yieldmanager.rb in yieldmanager-0.8.3 vs lib/yieldmanager.rb in yieldmanager-0.8.4
- old
+ new
@@ -15,10 +15,10 @@
if (RUBY_VERSION.start_with?("1.9"))
#
# This patch based on Tomer Doron's "Fixing soap4r for ruby 1.9" post
# http://tomerdoron.blogspot.com/2009/10/fixing-soap4r-for-ruby-19.html
#
- $LOAD_PATH.unshift 'lib/soap4r_19_patch'
+ $LOAD_PATH.unshift "#{dir}/soap4r_19_patch"
end
require 'yieldmanager/client'
if needs_patching?(:ruby_version => RUBY_VERSION, :minimum_ruby_version_for_patch => "1.8.7")