I am a new Ruby programmer, and my colleague wrote the following code to help me get started, which worked great in his environment. However, when I try to run it in my own environment, I will follow the following error: undefined method 'with_indifferent_access' for #<Hash:0x1012392c0> (NoMethodError)
This method appears twice in the code:
require 'rubygems' gem 'activerecord' gem 'activesupport' gem 'sailthru-client' require 'active_support' require 'active_record' require 'sailthru'
I tried different versions of ruby, such as ruby-1.8.7, to no avail. I do not understand how to solve this problem. I know this method exists somewhere because I saw how it works. I am open to any suggestions on what to do next.
Eric
source share