Translations of this page?:

Discussion

Soheil Danesh, 2010/02/06 01:04

I was having trouble with the following line: ruby script/plugin install git://github.com/technoweenie/restful-authentication.git

It would fail silently. The solution was: change the git:// to http:// AND put a trailing slash at the end of URL. So changed the command to this for it to work:

ruby script/plugin install http://github.com/technoweenie/restful-authentication.git/

note: it might think you already have the plug in since there is an empty folder there so try –force to ensure it gets the plug in:

ruby script/plugin install –force http://github.com/technoweenie/restful-authentication.git/

Cheers,

Soheil Danesh, 2010/02/06 01:05

ps I got the solution from this post:

http://rails.webintellix.com/index.php/2009/05/installing-rails-plugins-from-github-on-windows/

mattpaul, 2010/09/29 00:30

Having difficulty installing this plugin with rails 3. Can anyone shed some light on the situation?

E.g. the following doesn't work:

$ script/generate authenticated user session

Now script/generate has been replaced by rails generate or simply rails g, but when running that, rails can't locate the generator.

I tried copying the generator script from vendor/plugins/restful_authentication/generators/authenticated/ to lib/generators/ – that seemed to get me a step closer, now rails complains:

$ rails generate authenticated user session /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require': no such file to load – lib/generators/lib/insert_routes.rb (LoadError)

Thoughts? Thanks in advance. Surprised there isn't an automatic way to convert from rails 2.x plugins to rails 3 compatible plugins..

James Ross, 2010/10/12 05:18

Hi all.

I am not sure if this is the right forum for this question, but I will give it a shot.

I am looking for an authentication system that does not require email. The application I am writing will be on computers that will not have any network access. Can restful_authentication be set up w/o requiring email support? if so:

1) How does the admin administer the data? 2) If a user needs a new password, is there a standard password that can be implemented for their first login or do I need to write custom functions for this?

Thanks in advance,

James

 
howtos/authentication-authorization/restful-authentication.txt · Last modified: 2009/12/27 03:03 by gkruger
 
Recent changes RSS feed Creative Commons License