3

I deployed my Rails app with capistrano + passenger + ubuntu + apache. However, when I go to the homepage, the apache log shows:

[Mon Jul 21 14:24:25.607537 2014] [core:error] [pid 14496:tid 139782018725632] [client 69.193.194.58:41506] End of script output before headers:

How would I debug something like this?

2 Answers 2

6

I didn't have the environment secret configured set up in secrets.yml

Sign up to request clarification or add additional context in comments.

Comments

1

If you are in development you don't need to specify the secret key in the environment.

So just make sure that:

RailsEnv development

Is added to your virtualhost conguration

1 Comment

I thought that Passenger would assume development if no environment was given. You just saved me a lot of time, thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.