# Overriding init from Login Engine

**URL:** <https://www.ruby-forum.com/t/overriding-init-from-login-engine/61392>\
**Category:** Engines\
**Created:** [May 23, 2006, 7:23pm UTC](https://www.ruby-forum.com/t/overriding-init-from-login-engine/61392 "2006-05-23T19:23:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![edresende](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7cd45c/32.png) [@edresende](https://www.ruby-forum.com/u/edresende)\
**Post date:** [May 23, 2006, 7:23pm UTC](https://www.ruby-forum.com/t/overriding-init-from-login-engine/61392/1 "2006-05-23T19:23:55Z")

</div>

The following lines of login\_engine/init\_engine.rb are failing in my  
setup:

–

# TODO: why do I have to include these here, when including them in

login\_engine.rb should be sufficient?  
require ‘authenticated\_user’  
require ‘authenticated\_system’

## d:/ruby/ruby-1.8.4-16/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require\_\_’: no such file to load – authenticated\_user (MissingSourceFile)

If I comment them, everything is Ok.

Since I am using svn:externals, what is the best way to override this  
file before commiters figure out the issue? Currently, I edit this  
file but the change stays uncommitted.

Thanks for help!  
Eduardo

---

<div class="post-metadata">

**Author:** ![edresende](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7cd45c/32.png) [@edresende](https://www.ruby-forum.com/u/edresende)\
**Post date:** [May 24, 2006, 11:14am UTC](https://www.ruby-forum.com/t/overriding-init-from-login-engine/61392/2 "2006-05-24T11:14:05Z")

</div>

This is fixed in the release branch - see  
[http://dev.rails-engines.org/](http://dev.rails-engines.org/) for details

- james

---

<div class="post-metadata">

**Author:** ![edresende](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7cd45c/32.png) [@edresende](https://www.ruby-forum.com/u/edresende)\
**Post date:** [May 25, 2006, 2:39pm UTC](https://www.ruby-forum.com/t/overriding-init-from-login-engine/61392/3 "2006-05-25T14:39:40Z")

</div>

Thanks James, I’ll give it a look.

2006/5/24, James A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
