views:

37

answers:

2

I am trying to setup a Rails environment via CPanel. I've tried on several distinct hosting environments (on all of which I used CPanel to create the project) and I always get the following:

About your rails environment - Something went wrong

Is this something I've done wrong - I have to first create models/controllers etc - or something I need to bark up my hosting provider's tree about?

A: 

Have you tried running your app locally? If I remember correctly, for security reasons, the "about your application's environment" won't load unless it's from localhost.

theIV
That sounds like it makes sense. If you've got an URL/reference, you've got yourself a +1 and a green check, my friend!
LeguRi
... or equally if find it :)
LeguRi
A: 

If you are running your app in production mode (so it is recognized as it doesn't run locally), rails won't show this information, instead it will show this message.

I had this issue and wondering what's wrong when I first setup a new application in a server with passenger. The default environment of passenger is the production so it doesn't show this info. You have to set it up to development mode if you want to see them, to do that go to your virtual host file and add this:

   RailsEnv development

When you start creating your application, delete the index.html from the public.

JohnDel