rails插件没有安装
我正在尝试安装restful_authentication插件使用以下git …
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
但它没有按预期安装,请帮助,谢谢。
不完全是答案,但您使用的是什么版本的导轨? 在很长一段时间内,restful身份validation插件还没有更新,正如你在github项目中看到的那样: 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。