Require a specific version of ActiveRecord

Posted by magnushjelm on Stack Overflow See other posts from Stack Overflow or by magnushjelm
Published on 2010-03-13T08:30:18Z Indexed on 2010/03/13 8:35 UTC
Read the original article Hit count: 392

I have both Rails 2.3.4 and Rails 3.0.0.beta installed on my local machine. I am using ActiveRecord in a stand alone ruby script and when I do require 'active_record' 3.0.0.beta is loaded. How can I force it to require 2.3.4 instead? (without uninstalling 3.0.0.beta)

© Stack Overflow or respective owner

Related posts about ruby

Related posts about ruby-on-rails