rails plugin isn't installing

て烟熏妆下的殇ゞ 提交于 2019-12-25 04:15:52

问题


I am trying to install restful_authentication plugin use following git...

git://github.com/Satish/restful-authentication.git

and i am trying to install using following command...

c:\Users\Admin\Downloads\rails_apps\students>ruby script/plugin install git://github.com/Satish/restful-authentication.git

But its not installing as expected, please help, thanks.


回答1:


Not exactly an answer, but what version of rails are you using? The restful authentication plugin hasn't been updated in a long while, as you can see on the github project: https://github.com/technoweenie/restful-authentication. Unless you're on Rails 2.3.x, i'd recommend looking at: https://github.com/plataformatec/devise




回答2:


Try to user on terminal:

[sudo] gem install restful-authentication

or

[sudo] rails plugin install git://github.com/Satish/restful-authentication.git restful_authentication

and insert on Gemfile:

[sudo] gem "restful-authentication", "~> 1.2.1"

or

[sudo] gem "restful-authentication"
  • if you'r on linux or mac, you can user sudo.


来源:https://stackoverflow.com/questions/12264260/rails-plugin-isnt-installing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!