簡體   English   中英

無法在Rails中安裝插件

[英]Unable to install plugin in Rails

我正在運行Windows 7 32位。 我剛剛安裝了Ruby 1.9.2和Rails 3.0.1。 我設置了Rails示例應用程序,並且一切似乎都正常進行。 我嘗試從github安裝restful_authentication插件,這是一場噩夢。 我正在執行以下命令:

rails plugin install -force git://github.com/technoweenie/restful-authentication.git

...而我得到以下錯誤:

Cannot install using checkout because this project is not under subversion.

我該如何解決? 我已經安裝了SVN和Git命令行客戶端,它們都在我的PATH中。

是的,您不應將此插件與Rails 3一起使用。請使用devise。

  1. 獲取用於Rails開發的Linux或Mac。
  2. 根據安裝說明,您只需將項目克隆到插件目錄即可。

    git clone git://github.com/technoweenie/restful-authentication.git restful_authentication

  3. 正如其他人所建議的那樣, 設計是更好的選擇。

暫無
暫無

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

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