# Engine Not Starting

**URL:** <https://www.ruby-forum.com/t/engine-not-starting/97120>\
**Category:** Rails\
**Created:** [July 5, 2006, 1:15am UTC](https://www.ruby-forum.com/t/engine-not-starting/97120 "2006-07-05T01:15:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cambrianjoe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@cambrianjoe](https://www.ruby-forum.com/u/cambrianjoe)\
**Post date:** [July 5, 2006, 1:15am UTC](https://www.ruby-forum.com/t/engine-not-starting/97120/1 "2006-07-05T01:15:41Z")

</div>

I’ve used login\_engine successfully before with webrick, and now using a  
provider that uses fcgi. login\_engine doesn’t seem to start up, in the  
development log file, I get only routing errors for the page requested.  
The login\_engine unit tests pass fine.

My question is if an engine is not loaded, not in a path, etc, how is  
this indicated in rails? None of the log files even indicate that it’s  
trying to start the LoginEngine.

Since I’ve had no problem in the past, I’m assuming this is some sort of  
fcgi issue, but not sure how to even start troubleshooting it. Any help  
would be appreciated.

Application helper:  
module ApplicationHelper  
include LoginEngine  
end

Environment.rb (bottom)

module LoginEngine  
config :salt, “mysalt”  
config :use\_email\_notification, false  
end

Engines.start :login\_engine

Application Controller:  
require ‘login\_engine’

class ApplicationController \< ActionController::Base  
include LoginEngine  
helper :user  
model :user

before\_filter :login\_required

end

---

<div class="post-metadata">

**Author:** ![cambrianjoe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@cambrianjoe](https://www.ruby-forum.com/u/cambrianjoe)\
**Post date:** [July 5, 2006, 1:55am UTC](https://www.ruby-forum.com/t/engine-not-starting/97120/2 "2006-07-05T01:55:39Z")

</div>

Hey Joe -

not sure if we’re experiencing the same problems, but since upping  
to 1.1.4 the login\_engine is failing (infinite redirects, login never  
succeeds, etc.).

I’m not sure, but it looks like this ticket may be the ‘ticket’ - but  
alas the current patch doesn’t work for me,

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

cheers,  
Jodi

---

<div class="post-metadata">

**Author:** ![cambrianjoe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@cambrianjoe](https://www.ruby-forum.com/u/cambrianjoe)\
**Post date:** [July 5, 2006, 10:56am UTC](https://www.ruby-forum.com/t/engine-not-starting/97120/3 "2006-07-05T10:56:36Z")

</div>

As indicated on the ticket, I’m looking for debug logs to help me  
track this down (thanks for yours, Jodi). If you’re experiencing a  
problem with Rails 1.1.4, please follow the instructions there.

In the meantime, stick with Rails 1.1.2 if you can.

- james

---

<div class="post-metadata">

**Author:** ![cambrianjoe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@cambrianjoe](https://www.ruby-forum.com/u/cambrianjoe)\
**Post date:** [July 5, 2006, 11:43am UTC](https://www.ruby-forum.com/t/engine-not-starting/97120/4 "2006-07-05T11:43:20Z")

</div>

Can y’all having trouble with Rails 1.1.4 please try updating to the  
latest version of the Engines 1.1 release branch (revision 4  
405)? This can be done by either:

(if you’re already on the release branch)  
svn up vendor/plugins/engines

(if you’re not)  
cd vendor/plugins  
rm -fr engines  
svn co [http://svn.rails-engines.org/engines/branches/rb\_1.1](http://svn.rails-engines.org/engines/branches/rb_1.1)

Please leave feedback on Ticket #180 as per usual.

Thanks,

James
