PDA

View Full Version : Rails app deployment...doesn't want to go


Niki
February 7th, 2008, 05:22 AM
Hi, I thought to post an'introduction thread, but I've few time...

I have to publish a Rails application on a shared host.
I had problems with the usual "Rails failed to start properly", but following the Rob's rails instructions, I think to have the site run, somehow.

The problem is that every page I could call, I see the 500 and 404 rails error pages in "public".

I try to run dispatch.fcgi and it doesn't give any error, then I try to run dispatch.cgi and all the console has to say me is:
"Status: 400 bad request"

(this application had to be published one month ago!)
Any idea? :confused:
Thank you in advance, Niki

rob
February 7th, 2008, 04:26 PM
Try the troubleshooting steps outlined in our Troubleshooting a Ruby on Rails Application (http://wiki.ocssolutions.com/Troubleshooting_a_Ruby_on_Rails_Application) wiki article.

Niki
February 7th, 2008, 05:32 PM
Yes, I tried it this afternoon, since I found it in another article.
How the end of the article says:
"If you can't solve it from that, please contact us."
in fact I'm here now :)
Anyway I had no luck following those steps, my situation stopped being how I described it in the first post.
Have you any idea? After a day of tries, mine are out :(

rob
February 7th, 2008, 06:10 PM
Do you host with us? If not, your host's environment might not be setup for Rails, or there may be a problem in the setup. If you do host with us, please open a ticket.

Niki
February 8th, 2008, 01:26 PM
Do you host with us?
No, I don't. I'am hosting with Seeweb.

If not, your host's environment might not be setup for Rails, or there may be a problem in the setup.
Well, I tried to ask them, and they said me that the server is ready and configured for Rails...
An endless maze.

What do you think about the problem?

Greetings, Niki