# LoginEngine: No such file to load -- authenticated\_user

**URL:** <https://www.ruby-forum.com/t/loginengine-no-such-file-to-load-authenticated-user/60348>\
**Category:** Engines\
**Created:** [May 12, 2006, 2:49pm UTC](https://www.ruby-forum.com/t/loginengine-no-such-file-to-load-authenticated-user/60348 "2006-05-12T14:49:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![josh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@josh](https://www.ruby-forum.com/u/josh)\
**Post date:** [May 12, 2006, 2:49pm UTC](https://www.ruby-forum.com/t/loginengine-no-such-file-to-load-authenticated-user/60348/1 "2006-05-12T14:49:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![josh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@josh](https://www.ruby-forum.com/u/josh)\
**Post date:** [May 12, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/loginengine-no-such-file-to-load-authenticated-user/60348/2 "2006-05-12T16:42:15Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![josh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@josh](https://www.ruby-forum.com/u/josh)\
**Post date:** [May 12, 2006, 6:44pm UTC](https://www.ruby-forum.com/t/loginengine-no-such-file-to-load-authenticated-user/60348/3 "2006-05-12T18:44:39Z")

</div>

Joshua M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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 S.  
[http://ssinghi.kreeti.com](http://ssinghi.kreeti.com), [http://www.kreeti.com](http://www.kreeti.com)  
Read my blog at: [http://cuttingtheredtape.blogspot.com/](http://cuttingtheredtape.blogspot.com/)  
,----  
| “War is Peace! Freedom is Slavery! Ignorance is Strength!”  
| – Orwell, 1984, 1948  
`----

---

<div class="post-metadata">

**Author:** ![josh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@josh](https://www.ruby-forum.com/u/josh)\
**Post date:** [May 12, 2006, 6:50pm UTC](https://www.ruby-forum.com/t/loginengine-no-such-file-to-load-authenticated-user/60348/4 "2006-05-12T18:50:53Z")

</div>

Please refer to this ticket on the issue tracking site:

[http://dev.rails-engines.org/tickets/156](http://dev.rails-engines.org/tickets/156)

- james

---

<div class="post-metadata">

**Author:** ![josh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@josh](https://www.ruby-forum.com/u/josh)\
**Post date:** [May 13, 2006, 5:46pm UTC](https://www.ruby-forum.com/t/loginengine-no-such-file-to-load-authenticated-user/60348/5 "2006-05-13T17:46:08Z")

</div>

Thanks very much… I can’t believe that I wasted hours because of this  
simple bug. But why isn’t the SVN download updated?

---

<div class="post-metadata">

**Author:** ![josh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/45deac/32.png) [@josh](https://www.ruby-forum.com/u/josh)\
**Post date:** [May 12, 2006, 6:57pm UTC](https://www.ruby-forum.com/t/loginengine-no-such-file-to-load-authenticated-user/60348/6 "2006-05-12T18:57:29Z")

</div>

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/](http://www.ruby-forum.com/).
> 
> * * *
> 
> engine-users mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org)

–

:🧑‍🎓

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

::Open Source Developer:

- [http://www.LogiLogi.org](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](http://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](http://nl.logilogi.org/HomE/WyboWiersma))
- removed\_email\_address@domain.invalid, address (Groningen) upon request
