开发者

How do I install / use Devise in Rails 2.3.5?

开发者 https://www.devze.com 2023-01-20 00:58 出处:网络
I have tried to install from the v.1.2.oauth branch of Devise on Github, but I still get an erro开发者_开发问答r.

I have tried to install from the v.1.2.oauth branch of Devise on Github, but I still get an erro开发者_开发问答r.

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.


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


gem install devise -v=1.0.7 worked for me.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号