Rails and a Secondary Shell Account



I found a bug in the Rails Instructions:

The instructions work fine for the primary shell account. The one with:

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):

For a primary account, you get (actual url):

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,