Updated Soap4r for use with Rails App on a host

I need to use the lastest build of the soap4r on my rails app hosted at TextDrive. I have put the soap4r files into vendors and was hoping to append the dir to the lookup path doing:

$:.unshift("#{RAILS_ROOT}/vendor/soap4r/lib")

Unfortunately, it seems to be using the files in /usr/local/lib/ruby/1.8. Am I missing something here to get this working?

Cheers, Nicholas

Ok, so all I needed to do was put

$:.unshift("#{RAILS_ROOT}/vendor/soap4r/lib")

in the Rails::Initializer.run block in environment.rb (I was putting it outside the block previously)