Closed surfer190 closed 9 years ago
Apparently, you need this in sites-available/fulcrum-conf
:
RailsEnv development
then
sudo service apache2 reload
Full vhost file:
<VirtualHost *:80>
ServerAdmin admin@localhost
ServerName fulcrum.local
#RailsEnv production
RailsEnv development
DocumentRoot /var/www/fulcrum/public
<Directory /var/www/fulcrum/public>
AllowOverride All
Options -MultiViews
</Directory>
ErrorLog ${APACHE_LOG_DIR}/fulcrum-error.log
CustomLog ${APACHE_LOG_DIR}/fulcrum-access.log combined
</VirtualHost>
RailsEnv production
doesn't work for me...
Using Apache and mod_passenger to host, gives:
500 Internal Service Error
on route:
/users/sign_in
Error Message is:
We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly.
Nothing in logs.
Works with
rails s
.Any ideas on how to debug?