Forum: Rails Engines LoginEngine: No such file to load -- authenticated_user

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.
Fc582698581884352e745d1d4c64699d?d=identicon&s=25 Joshua Muheim (josh)
on 2006-05-12 14:49
Hi all

I get the following error when using rake to import the DB schema for
the LoginEngine:

chraftbuech:/Users/Josh/Webwork/Dideldum.ch josh$ rake engine_migrate
ENGINE=lo
gin --trace
(in /Users/Josh/Webwork/Dideldum.ch)
** Invoke engine_migrate (first_time)
** Invoke db:migrate:engines (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
No such file to load -- authenticated_user
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
`require'
/Users/Josh/Webwork/Dideldum.ch/config/../vendor/plugins/login_engine/init_engine.rb:6:in
`start_engine'
/Users/Josh/Webwork/Dideldum.ch/config/../vendor/plugins/engines/lib/engines.rb:183:in
`start_engine'
/Users/Josh/Webwork/Dideldum.ch/config/../vendor/plugins/engines/lib/engines.rb:132:in
`start'
/Users/Josh/Webwork/Dideldum.ch/config/../vendor/plugins/engines/lib/engines.rb:131:in
`each'
/Users/Josh/Webwork/Dideldum.ch/config/../vendor/plugins/engines/lib/engines.rb:131:in
`start'
/Users/Josh/Webwork/Dideldum.ch/config/../config/custom_environment.rb:9
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
`require'
/Users/Josh/Webwork/Dideldum.ch/config/../config/environment.rb:54
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in
`require'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/tasks/misc.rake:9
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/tasks/misc.rake:8:in
`call'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
`execute'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
`each'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
`execute'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in
`invoke'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in
`synchronize'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in
`invoke'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in
`invoke_prerequisites'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in
`each'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in
`send'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in
`each'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in
`invoke_prerequisites'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in
`invoke'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in
`synchronize'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in
`invoke'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in
`invoke_prerequisites'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in
`each'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in
`send'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in
`each'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in
`invoke_prerequisites'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in
`invoke'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in
`synchronize'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in
`invoke'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in
`run'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in
`each'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in
`run'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/bin/rake:18:in
`load'
/Applications/Locomotive/Bundles/rails-1.0.0-max.bundle/Contents/Resources/ports/bin/rake:18

What can I do? I'm a complete newb... :-(

Thanks a lot.
Josh
Fc582698581884352e745d1d4c64699d?d=identicon&s=25 Joshua Muheim (josh)
on 2006-05-12 16:42
Very, very, very frustrating stuff...

It seems that it does not find the file, although it exists under
lib/login_engine/authenticated_user.rb.
Do I have to move this stuff out of the vendor's dir into the original
lib dir?

Or what can I do...? I'm really frustrated with all this stuff and poor
documentation...
D449d54c3b0f8c9930c11c7d7d3e6cdd?d=identicon&s=25 Surendra Singhi (Guest)
on 2006-05-12 18:44
(Received via mailing list)
Joshua Muheim <forum@josh.ch> writes:

> Very, very, very frustrating stuff...
>
> It seems that it does not find the file, although it exists under
> lib/login_engine/authenticated_user.rb.
> Do I have to move this stuff out of the vendor's dir into the original
> lib dir?
>
The engine should be present in the vendor\plugins directory.

> Or what can I do...? I'm really frustrated with all this stuff and poor
> documentation...
>
Did you check the wiki and read the README?
--
Surendra Singhi
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| "War is Peace! Freedom is Slavery! Ignorance is Strength!"
|     -- Orwell, 1984, 1948
`----
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-05-12 18:50
(Received via mailing list)
Please refer to this ticket on the issue tracking site:

  http://dev.rails-engines.org/tickets/156

- james
F3158b6c62d112e4aba9579953e925db?d=identicon&s=25 Wybo Wiersma (wybo)
on 2006-05-12 18:57
(Received via mailing list)
I am having the same (or very simmilar) problem with the new version of
engines... (and nothing with Rails while I am using Ruby 1.8.2 too...)

I'm currently quite busy, so I can't dive into it...

(running the old version for development now...)

Wybo

> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> engine-users mailing list
> engine-users@lists.rails-engines.org
> http://lists.rails-engines.org/listinfo.cgi/engine...

--

::Student:
- History, Informatiekunde (computer linguistics, IR, web) and
Philosophy
- Member of the Center for Metahistory Groningen
(http://www.rug.nl/let/cmg)

::Open Source Developer:
- http://www.LogiLogi.org, innovative system for cumulative, shared
commenting,
                           publication and idea sharing: Web as it can
be...
- ComLinToo, a computational linguistics toolset written in Perl
- Lake (LogiLogi.org Make), a make-replacement using makefiles in pure
C++

::Being:
- In the world, wavy hair, go figure
(http://nl.logilogi.org/HomE/WyboWiersma)
- wybo@logilogi.org, address (Groningen) upon request
Fc582698581884352e745d1d4c64699d?d=identicon&s=25 Joshua Muheim (josh)
on 2006-05-13 17:46
Thanks very much... I can't believe that I wasted hours because of this
simple bug. But why isn't the SVN download updated?
This topic is locked and can not be replied to.