Forum: Ruby on Rails Plugins not loading in production environment

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Alastair (Guest)
on 2009-06-08 01:59
(Received via mailing list)
I'm moving this query out from my earlier post. This is all I can
assume that is happening here. When I run my site in production, any
methods that call plugin functionality is failing. If I have methods
in my models that call a plugin, running script/server -e production
fails to launch with an error of `method_missing': undefined method.
If I comment out all that code to at least get the server running,
when I subsequently browse to a page which calls any plugin methods
(I'm using the calendar_helper plugin, for instance), this causes the
page to generate a 500 error.

Can anyone suggest any reason why plugins would not be loading? I know
that they're there as they're all sat in the vendor directory. This
has me absolutely stumped and like I said before is literally only
occurring in production mode on my remote server. Running the site in
development works fine.

Many thanks in advance,

Alastair (Guest)
on 2009-06-08 02:34
(Received via mailing list)
I think I may have this figured out..
VikramBKumar (Guest)
on 2009-07-07 05:19
(Received via mailing list)
Any tips on what the issue was?

I have the same problem.
This topic is locked and can not be replied to.