How do I add a the http://github.com/technoweenie/restful-authentication/tree/master plugin to my Rails project and the commit it to the git repo ? I need it to be committed with the project.
I have tried a few times but it's ignored by git.
Thanks.
How do I add a the http://github.com/technoweenie/restful-authentication/tree/master plugin to my Rails project and the commit it to the git repo ? I need it to be committed with the project.
I have tried a few times but it's ignored by git.
Thanks.
From the README:
Did you do that?
After doing a git clone, you'll want to rm -rf restful_authentication/.git to make your project happy to add it (or use submodules).
Either way git status doesn't report anything that needs to be added, it's like it doesn't see it.
@Dustin has likely nailed your problem.
Also note that if you don't already have a "lib" directory in your project, I found the generator will fail:
ruby script/generate authenticated user sessions
So mkdir lib first.
I posted a narration of restful_authentication + openid that covers these details and may be a little help.