# Starting engines and running their init file

**URL:** <https://www.ruby-forum.com/t/starting-engines-and-running-their-init-file/78332>\
**Category:** Engines Development\
**Created:** [March 8, 2006, 11:14am UTC](https://www.ruby-forum.com/t/starting-engines-and-running-their-init-file/78332 "2006-03-08T11:14:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Post date:** [March 8, 2006, 11:14am UTC](https://www.ruby-forum.com/t/starting-engines-and-running-their-init-file/78332/1 "2006-03-08T11:14:37Z")

</div>

I have an engine that does some initialization that needs to have its  
resources already in the load path, so is there any reason why evaling  
the init\_engine.rb can’t/doesn’t happen at the very end of the  
start\_engine method? I changed it and it works for me, but I wonder if  
I’m missing something?

–  
Jeff L.  
[http://blogrium.com/](http://blogrium.com/)

---

<div class="post-metadata">

**Author:** ![jeffl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Post date:** [March 8, 2006, 11:45am UTC](https://www.ruby-forum.com/t/starting-engines-and-running-their-init-file/78332/2 "2006-03-08T11:45:05Z")

</div>

I shouldn’t think there would be an issue with that, it sounds like a  
reasonable change to me - can you create a ticket @  
[http://dev.rails-engines.org/](http://dev.rails-engines.org/)

- james

On 3/8/06, Jeff L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> engine-developers mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org)

–

- J \*  
~
