I've inherited some Ruby on Rails code and am trying to get it up and running locally. I've seen it work on other people's machines but for me it is throwing an exception. The exception is Savon::UnknownOptionError in DevicesController#index.
What is causing the exception is "Unknown global option: :document=".
Specifically it is failing at row 2 of this call:
wsdl_url = "valid url"
@client = Savon::Client.new do |wsdl|
wsdl.document = wsdl_url
end