我曾尝试从Github上的Devise的v.1.2.oauth分支安装,但我仍然收到错误。
如何在rails 2.3.5应用程序上安装devise gem?特别是,我想要一个与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.
答案 0 :(得分:3)
通过从v1.0分支安装Devise 1.0.x可以找到对Rails 2.3.x的支持。
答案 1 :(得分:2)
gem install devise -v = 1.0.7为我工作。