I’m a brand new Rails user, I’m following this tutorial:
http://ruby.railstutorial.org/chapters/a-demo-app#top.
I’ve had no issues locally, able to view the test app on the local
server.
However, I can’t figure out what I’m doing wrong on Linode (using
Passenger).
Here’s what I’ve done so far:
- Push the local app to BitBucket
- Clone the BitBucket repo to /srv/www/preziki/first_app
- Do Bundle install
- Do rake db:migrate
- Configure the VirutalHost file:
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName preziki.com
ServerAlias www.preziki.com
DocumentRoot /srv/www/preziki/first_app/public
ErrorLog /srv/www/preziki/logs/error.log
CustomLog /srv/www/preziki/logs/access.log combined
- Enable the site: a2ensite preziki
- Restart Apache
- Reload Apache
If you go to www.preziki.com (or http://176.58.104.181/) you see the
standard default Rails page, if you click “About your application’s
environment”- the link doesn’t work. If you try to do preziki.com/users
you get the “We’re sorry, something went wrong” message.
What am I doing wrong?
Thank you.