First, note that GrokThis.net is happy to setup rails for clients, so the following instructions are only necessary for the “DIY” (do it yourself) crowd.
We recommend that you enable FastCGI?:
ln -s ~/etc/apache2/mods-available/fast-cgi.load \
/etc/apache2/mods-enabled/
Execute the following commands to configure Rails such that it appears at the address http://www.example.com/webapp/
cd ~/
- Install rails
rails railsData
- Put the files out to the public
ln -s ~/railsData/public \
~/public_html/example.com/webapp
- The following will enable FastCGI?
cp -a ~/etc/apache2/snippets/rails.htaccess \
~/public_html/example.com/webapp/.htaccess
rm -rf ~/public_html/example.com/webapp/dispatch.cgi
rm -rf ~/public_html/example.com/webapp/dispatch.rb
Finally, edit ~/railsData/conf/database.yml as needed.
As always, please contact support if you need any assistance — they will happily install and setup rails for you, or answer any installation questions you may have.