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:

  1. created sub-domain.
  2. created sym link rails app pointing sub-domain.
  3. 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

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -