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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -