Deploying Rails 3 app on bluehost -


i keep receiving 500 internal server error

i followed guide bluehost found here , still nothing works

~/railstest/public/.htaccess

options -multiviews         passengerresolvesymlinksindocumentroot on         #set whatever environment you'll running in         railsenv production         rackbaseuri /         setenv gem_home /home1/railstestc/ruby/gems 

~/.bashrc

export hpath=$home         export gem_home=$hpath/ruby/gems         export gem_path=$gem_home:/usr/lib64/ruby/gems/1.8         export gem_cache=$gem_home/cache         export path=$path:$hpath/ruby/gems/bin         export path=$path:$hpath/ruby/gems  

if click bluehost's hosting tab, , click rubygems icon you'll see nice notice down page bit:

using ruby gem(s) !!!!at time rails 3.0 not supported , can cause broken ruby/rails environment!!!!  need add /home4/localvor/ruby/gems include path.  can adding following code script: $:.push("/home4/localvor/ruby/gems") 

in other words, blue host current doesn't support rails 3 @ all. or rather, don't have javascript run time available. sorry mate.

if run bundle install, bundle --binstubs you'll able use ./bin/rake , execute tasks.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -