new rails installtion not showing image
install passenger to run app on apache
install new app with $rails new myapp
when i view the rails default page it shows the "Welcome aboard"page but there's no rails logo appearing. Also when i click on "About your application’s environment" link it shows Not Found error.
What i'm missing
Thanks
3 Replies
is there any apache or pessanger settings that i've missed.
my dir structure is /srv/www/examp.com/appdir/
and my apache file is like this
ServerName examp.com
ServerAlias
DocumentRoot /srv/www/examp.com/appdir/public
Order allow,deny
Allow from all
I have spent the last week on installing rails and have an idea about what is going on.
Click on the stats link in that page that is displayed and check it is connecting to the database. If it cannot connect to the database you will get no pictures.
There has been MUCH wailing and gnashing of teeth in my house over the last week, during which time I have found a LOT of installation problems with rails. It's a nightmare. Even using RVM to install it, they leave steps out that mean it won't work with a VPS. Also, installing with app-get is a very bad idea.
I am using postgres as a database.
I'm happy to help if you have setup problems, if only to spare someone else going through what I went through. My server is running nginx and postgres from compiles and I am currently writing a script from my bash history, which I will put on github when I feel it won't create any embarrassment for me
EDIT: I should have read properly, you are using passenger. I gave up on passenger eventually, opting to go manual. Not sure how good it is with Apache though.
Your file not found implies a passenger problem. Are you pre-release? If you are then you might want to consider just getting R&R installed via RVM and Gems first, then getting passenger working later.
There should be a database.yml in the config folder of your project by the way.