安装rails插件的问题(restful_authentication)

发布于 2024-11-30 07:39:17 字数 549 浏览 1 评论 0原文

我正在尝试在运行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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

始于初秋 2024-12-07 07:39:17

您可以在此处下载插件并手动将其放入供应商/插件中。

下载直接链接: 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文