Mridang Agarwalla
Mridang Agarwalla

Reputation: 44958

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.

Upvotes: 0

Views: 287

Answers (2)

zengr
zengr

Reputation: 38899

  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.

Upvotes: 0

Nicolas Blanco
Nicolas Blanco

Reputation: 11299

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

Upvotes: 1

Related Questions