[Instantrails-users] LoginGenerator

MaxSteel maxsteel at gmail.com
Sun Jan 29 13:59:36 EST 2006

ok.. i cheated.. this is what i did:

copied "F:\InstantRails-1.0\ruby\lib\ruby\gems\1.8\gems\login_generator-1.1.0\templates"
to "F:\InstantRails-1.0\rails_apps\cookbook\lib"
(renaming the login... dir name to lib in the cookbook dir)

F:\InstantRails-1.0\rails_apps\cookbook>\InstantRails-1.0\ruby\bin\ruby script/g
enerate login Account
(this now worked)

then copied the new
F:\InstantRails-1.0\rails_apps\cookbook\lib\login_system.rb into my

and it now asks for signup!

not sure if i cheated or not.  if someone can verify this way of thinking?

once again, if there is a better way, I'm open to suggestions!


On 1/29/06, MaxSteel <maxsteel at gmail.com> wrote:
> Hey Gang.. I'm attempting to perform this:
> http://wiki.rubyonrails.com/rails/pages/HowToQuicklyDoAuthenticationWithLoginGenerator
> (HowToQuicklyDoAuthenticationWithLoginGenerator)
> I can do most of it, but i'm having issues with one part..
> (now don't laugh)
> step 2:
> Generate a login system, we'll call it
> "Account"1
> ruby script/generate login Account
> whenever i run it i get this error:
> F:\InstantRails-1.0\rails_apps\cookbook>\InstantRails-1.0\ruby\bin\ruby
> script/generate login Account
>      create  lib/login_system.rb
> No such file or directory - ./script/../config/../lib/login_system.rb
> any help is appreciated.
> (and yes step one worked, the gem login_generator-1.1.0 was dl'd and
> installed into F:\InstantRails-1.0\ruby\lib\ruby\gems\1.8\gems\login_generator-1.1.0)
> Thanks in advance!
> Ryan
> (if there is a better way to create a login system, i have no problem
> changing my direction)

More information about the Instantrails-users mailing list