[Instantrails-users] LoginGenerator

MaxSteel maxsteel at gmail.com
Sun Jan 29 23:58:29 EST 2006


i guess my question was more about generating things into the
instantrails version.. all the documentation out there seems to be for
rails on a 'nix platform.. so.. i'm just improvising..

On 1/29/06, Curt Hibbs <curt.hibbs at gmail.com> wrote:
> I've never used the login generator, so I really don't know. Unless someone
> else here has any idea, it might be better to post this to the Rails ML.
>
> Curt
>
>
> On 1/29/06, MaxSteel <maxsteel at gmail.com> wrote:
> >
> > 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)
> >
> > reran:
> > 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
> > F:\InstantRails-1.0\rails_apps\cookbook\app\controllers
> >
> > 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!
> >
> > Thanks!
> > Ryan
> >
> > 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)
> > >
> >
> > _______________________________________________
> > Instantrails-users mailing list
> > Instantrails-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/instantrails-users
> >
>
>
> _______________________________________________
> Instantrails-users mailing list
> Instantrails-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/instantrails-users
>
>



More information about the Instantrails-users mailing list