On MacOS X 10.5 the path for ruby in the three dispatcher-files inside of a rails project is wrong:
It should be:
Deployment of a rails application to an other unix or linux box is broken caulse of the wrong path
#!/bin/bash cd ~/Desktop rails broken_rails_dispatcher cd broken_rails_dispatcher/public cat dispatch.cgi | head -n 1 cat dispatch.fcgi | head -n 1 cat dispatch.rb | head -n 1
The workaround is to exchange the paths every time after creating a rails project...