updated production and have run into routing issues

Admittedly, this is a massive update into production environment and I am getting some routing errors that I don't understand.

from /var/log/httpd/error_log

1 - MissingSourceFile (no such file to load -- lib/cmwholename.rb):

2 - ActionController::RoutingError (Recognition failed for "/javascripts/defaults.js")

I am using apache 2.0.54.x with fcgi and things had been working fine before this update.

routes.rb is the same (before/after) and the only modification I have ever made to routes.rb is to add...   map.connect '/', :controller => "login", :action => 'login'

I did add 'Engines.start :datebocks' to environment.rb (the only change)

Clearly those files are there...from RAILS_ROOT # ls -l lib public/javascripts/ lib: total 40 -rw-rw-r-- 1 craig craig 392 Sep 16 16:52 clwholename.rb -rw-rw-r-- 1 craig craig 397 Sep 16 16:52 cmwholename.rb -rw-rw-r-- 1 craig craig 393 Sep 16 16:52 pewholename.rb -rw-rw-r-- 1 craig craig 393 Sep 16 16:52 suwholename.rb drwxrwxr-x 3 craig craig 4096 Sep 16 16:52 tasks

public/javascripts/: total 292 -rw-rw-r-- 1 craig craig 148 Sep 16 16:52 application.js -rw-rw-r-- 1 craig craig 3600 Sep 16 16:52 calendar-en.js -rw-rw-r-- 1 craig craig 49237 Sep 16 16:52 calendar.js -rw-rw-r-- 1 craig craig 8853 Sep 16 16:52 calendar-setup.js -rw-rw-r-- 1 craig craig 28036 Sep 16 16:52 controls.js -rw-rw-r-- 1 craig craig 29453 Sep 16 16:52 dragdrop.js -rw-rw-r-- 1 craig craig 32871 Sep 16 16:52 effects.js -rw-rw-r-- 1 craig craig 55149 Sep 16 16:52 prototype.js -rw-rw-r-- 1 craig craig 23890 Sep 16 16:52 rico_corner.js

Anyone with a hint?

Craig

This doesn't make sense...

# script/console production Loading production environment.

require "lib/pewholename.rb"

=> true

@personnel = Personnel.find(135)

=> #<Personnel:0xb780ea14 @attributes={"arbitration_agreement"=>"t", "sex"=>"M" ... bunch of stuff clipped ... "confidentiality_of_med_records"=>"f"}>

@personnel.pewholename

=> #<Pewholename:0xb7791c30 @first_name="Charles", @last_name="Atlas", @middle_initial="T">

So require "lib/pewholename.rb" works from script/console production but not when used in a model (it generates an error).

And I am still wondering why a layout using     <%= javascript_include_tag :defaults %>

generates the ActionController::RoutingError

and I'm wondering if these problems aren't related

Craig

Admittedly, this is a massive update into production environment and I am getting some routing errors that I don't understand.

from /var/log/httpd/error_log

1 - MissingSourceFile (no such file to load -- lib/cmwholename.rb):