Satchel
Satchel

Reputation: 16734

How do I install / use Devise in Rails 2.3.5?

I have tried to install from the v.1.2.oauth branch of Devise on Github, but I still get an error.

How do I install the devise gem on a rails 2.3.5 application? In particular, I want the one that works with omniauth

gem install devise -v "1.2" 
ERROR:  Could not find a valid gem 'devise' (= 1.2) in any repository

 config.gem 'devise', :git => 'http://github.com/plataformatec/devise.git',
                   :branch => 'omniauth'

ERROR:  Error installing devise:
    ERROR: Failed to build gem native extension.

c:/Ruby187/bin/ruby.exe extconf.rb
creating Makefile

make
'make' is not recognized as an internal or external command,
operable program or batch file.

Upvotes: 4

Views: 1260

Answers (2)

ebilly
ebilly

Reputation: 27

gem install devise -v=1.0.7 worked for me.

Upvotes: 2

julienXX
julienXX

Reputation: 68

Support for Rails 2.3.x can be found by installing Devise 1.0.x from the v1.0 branch.

Upvotes: 3

Related Questions