开发者

Unable to install plugin in Rails

I'm running Windows 7 32 bit. I just installed Ruby 1.9.2 and Rails 3.0.1. I set up my rails sample application and everything seems to be working fine. I tried installing the restful_authentication plugin from github and it's been a nightmare. I'm executing the following command:

rails plugin install -force git://github.com/technoweenie/restful-authentication.git

...and i get the get the following error:

Cannot install using checkout because this project is not under subversion.

How do i get around this? I've installed both the SVN and Git command-line clients and they're in开发者_运维技巧 my PATH.


Yep, you should not use this plugin with Rails 3. Use devise.


  1. Get a linux or a mac for Rails development.
  2. According to the installation notes you need to simply clone the project to the plugins dir.

    git clone git://github.com/technoweenie/restful-authentication.git restful_authentication

  3. As others have suggested, devise is a better option.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜