Rails and a Secondary Shell Account
Posted by: larryfreeman
Posted on: 2008-06-22 13:44:00
Hi,
I found a bug in the Rails Instructions:
http://wiki.dreamhost.com/Ruby_on_Rails
The instructions work fine for the primary shell account. The one with:
~/domainname/
To be clear, a secondary shell account is a home directory which is not directly associated with a domain name. Only the primary account has the /home/primary/domainname as part of its subdirectory.
For a secondary shell account, using:
ln -s ~/name/public /home/primaryuser/domain/name
This gives you the following error (actual url):
http://barnahum.com/test2/say/hello
For a primary account, you get (actual url):
http://barnahum.com/test3/say/hello
So, I would like to figure out how to do the following:
cd ~ [That is, the secondary shell acount]
rails name
[what additional steps do I do?]
ln -s ~/name/public /home/primary/domain/name
[what additional steps do I do?]
Thanks very much,
-Larry
Edited by larryfreeman on 06/22/08 01:48 PM (server time).