How to force Rails to use gem of version X

Posted by David Lazar on Stack Overflow See other posts from Stack Overflow or by David Lazar
Published on 2010-05-28T22:32:17Z Indexed on 2010/05/28 22:42 UTC
Read the original article Hit count: 177

Filed under:

I have a rails app with the config/environment.rb line

config.gem 'authlogic', :version => '2.1.2'

The system gem for authlogic is 2.1.4 The one in my GEM_PATH is 2.1.2

No matter what I try, Rails is only using the 2.1.4 version, which is a problem. How to force rails to use 2.1.2?

Thanks

© Stack Overflow or respective owner

Related posts about ruby-on-rails