500 error - RESTful Routes
This is a wiki article created by HostingRails users. Please login or signup to make edits.
If you're deploying a RESTful application, you're likely getting 500 server errors dealing with your nested routes. Perhaps even just your regular routes. Well I have good news. This can be easily resolved. Just do the following:
SSH to your server. From the home location*.
cd yourappname
Then enter the following:
rake routes > routes.txt
This will create a file called routes.txt at the base of your application. This lists all the routes for your application on the hostingrails server. Most likely your routes are named differently than what you see here. It's a bit of a hassle but you need to change them to match up to this and it works fine.*home location is /home/username
"
Zach