ruby - Rails deployment using Phusion Passenger on Bluehost -
i trying deploy rails application on bluehost using passenger , have been failing time. installed passenger gem using:
gem install passenger
and ran:
passenger-install-apache2-module
and ran db migrations , did asset precompile
the problem is, trying host on sub-domain, did following steps:
- created sub-domain.
- created sym link rails app pointing sub-domain.
- added following lines .htaccess:
passengerenabled on
passengerapproot /home/username/rails_apps/my_app
and when navigate domain in browser gives me:
internal server error. server encountered internal error or misconfiguration , unable complete request. please contact server administrator, webmaster@sub.domain.com
where going wrong?
thanks in advance :)
hey have checked user & group in httpd conf file? make sure if have user/group www-data in httpd conf project directories should have same owner & group.
Comments
Post a Comment