簡體   English   中英

Rails插件未安裝

[英]rails plugin isn't installing

我正在嘗試在git之后安裝restful_authentication插件使用...

git://github.com/Satish/restful-authentication.git

我正在嘗試使用以下命令進行安裝...

c:\\ Users \\ Admin \\ Downloads \\ rails_apps \\ students> ruby script/plugin install git://github.com/Satish/restful-authentication.git

但是它沒有按預期安裝,請幫助,謝謝。

不完全是一個答案,但是您使用的是哪個版本的rails? 正如您在github項目上所看到的那樣,restful身份驗證插件已經有很長時間沒有更新了: https : //github.com/technoweenie/restful-authentication 除非您使用Rails 2.3.x,否則我建議您查看: https : //github.com/plataformatec/devise

嘗試在終端上使用

[sudo] gem install restful-authentication

要么

[sudo] rails plugin install git://github.com/Satish/restful-authentication.git restful_authentication

並插入Gemfile

[sudo] gem "restful-authentication", "~> 1.2.1"

要么

[sudo] gem "restful-authentication"
  • 如果您使用的是Linux或Mac,則可以使用sudo。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM