安装rails插件的问题(restful_authentication)
我正在尝试在运行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"]
我应该如何安装该插件?
I am trying to install restful_authentication plugin in my machine which is running rails -v 2.3.5. I get the following error when i try to install it
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"]
how am i supposed to install the plugin?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在此处下载插件并手动将其放入供应商/插件中。
下载直接链接: https://github.com/technoweenie/restful-authentication/tarball /master
所以目录结构应该是:vendor/plugins/restful_authentication
You can just download the plugin here and put it inside vendor/plugins manually.
Direct link for the download: https://github.com/technoweenie/restful-authentication/tarball/master
So the directory structure should be: vendor/plugins/restful_authentication