23Mar/070
BUG: Found and solution
There seems to be a bug in the latest versions of Ruby on Rails that is installed on the cias web server
If you are seeing in your ruby logs:
ActionController::RoutingError (no route found to match
and from the web you are seeing:
no route found to match "/blah" with {:method=>:get}
Then you need to do the following
edit your config/boot.rb line that reads
root_path = Pathname.new(root_path).cleanpath(true).to_s
to
root_path = Pathname.new(root_path).cleanpath(true).realpath().to_s
Run: sudo cias_killruby
This script is a new feature i've made that will kill your ruby processes on the server
The actual bug report is at: http://dev.rubyonrails.org/ticket/6755
I hope this helps everyone