nicholas.henry-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Sep-18 16:10 UTC
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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
nicholas.henry-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Sep-26 14:43 UTC
Re: Updated Soap4r for use with Rails App on a host
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) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---