Forum: Rails Engines trouble migrating login_engine schema

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F185164221b04dadde8423569b12aa4c?d=identicon&s=25 Jeremy Pettet (jpettet)
on 2006-05-15 05:05
Hello,

I tried to migrate the schema for Login_Engine but I get this error

>rake engine_migrate ENGINE=login

rake aborted!
No such file to load -- authenticated_user


I cannot seem to find anyone else with the same problem.

Thanks,
JP
7c4c1ca398293f06fedb26e2e5d388d3?d=identicon&s=25 Volker Schumacher (Guest)
on 2006-05-16 23:01
Jeremy Pettet wrote:
> Hello,
>
> I tried to migrate the schema for Login_Engine but I get this error
>
>>rake engine_migrate ENGINE=login
>
> rake aborted!
> No such file to load -- authenticated_user
>
>
> I cannot seem to find anyone else with the same problem.
>
> Thanks,
> JP

Hi,
I have the same problem.
<v>
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-05-16 23:36
(Received via mailing list)
Have you searched the archives, or on ruby forum? This has been
discussed already.

- James
7f30149100d05b8869b0ca351ef9e756?d=identicon&s=25 Vincent AE Scott (Guest)
on 2006-05-18 14:18
(Received via mailing list)
#if volker.schumacher.1 /* May 16, 11:01 */
> >
> > I cannot seem to find anyone else with the same problem.
> >
> > Thanks,
> > JP
>
> Hi,
> I have the same problem.
> <v>

a bug has been raised for this (assuming its the same problem)
http://dev.rails-engines.org/tickets/156

i ran into this the other day with trunk rails and login_engine the
other day (bad me for not submitting a bug/patch).

what i had todo was edit login_engine/init_engine.rb
and change:

require 'authenticated_user'
require 'authenticated_system'

to:

require 'login_engine/authenticated_user'
require 'login_engine/authenticated_system'

HTH
-v

--
keys:  http://codex.net/gpg.asc

 Shell to DOS...Come in DOS, do you copy? Shell to DOS...
This topic is locked and can not be replied to.