我正在尝试在运行rails -v 2.3.5的机器上安装restful_authentication插件。我尝试安装时出现以下错误
ruby script/plugin install http://github.com/technoweenie/restful-authentication.git restful_authentication
Plugin not found: ["http://github.com/technoweenie/restful-authentication.git", "restful_authentication"]
ruby script/plugin install git://github.com/technoweenie/restful-authentication.git restful_authentication
Plugin not found: ["git://github.com/technoweenie/restful-authentication.git", "restful_authentication"]
我应该如何安装插件?
答案 0 :(得分:3)
您可以下载插件here并将其手动放入供应商/插件中。
下载的直接链接:https://github.com/technoweenie/restful-authentication/tarball/master
所以目录结构应该是:vendor / plugins / restful_authentication