Bluehost Web Hosting Help
Make sure you have SSH enabled in order to follow these directions as it is required to install gems locally.
1. Add the following lines to your $HOME/.bashrc file (these can be copy and pasted):
export GEM_HOME=$HOME/ruby/gems export GEM_PATH=$GEM_HOME:/lib64/ruby/gems/1.9.3 export GEM_CACHE=$GEM_HOME/cache export PATH=$PATH:$HOME/ruby/gems/bin2. Now, you'll have to edit the source file for the rack gem. This *should* be located here:
$HOME/ruby/gems/gems/rack-1.1.6/lib/rack/handler/fastcgi.rbJust comment out line #7 so it looks like this:
#alias _rack_read_without_buffer read3. Now modify the applications environment.rb file so that the correct gem path is included. This line should go up at the top before the version of rails is specified:
ENV['GEM_PATH'] = '/path/to/their/home/ruby/gems:/usr/lib/ruby/gems/1.9.3'4. Kill off fastcgi processes.
Recommended Help Content
Ruby on Rails, Gems
What Ruby on Rails version and Gems are installed?
Ruby on Rails 404 Errors
My Ruby on Rails installation keeps displaying a '404 Not Found' error.
Ruby on Rails Setup
How do I setup Ruby on Rails?
Related Help Content
Ruby on Rails application generates a 500 - Premature end of script error
When I attempt to execute my Ruby on Rails application I receive "500- Premature end of script."
Email Troubleshooting General
General Email issues where should I start?
Can't receive emails? Here are a few things to try.
Ruby on Rails: How-to install Redmine
How to install Redmine a Ruby on Rails application
How to Increase the PHP Memory Limit
How to install the php.ini file and then increase the PHP Memory limit.
How to change the WordPress URL
This article will explain how to change your WordPress Urls
Email Troubleshooting Sending
Can't send emails? Here are a few things to try.
Email Troubleshooting - Emails Suddenly Disappearing
Explains how your Inbox of your Email Account may have removed your emails.