PDA

View Full Version : Deploying rails on apache, actual domain



lulvulco
11-11-2008, 05:25 PM
the tutorial that most go by shows how to set up a subdomain rails app... how do you do an app with the main domain?

lulvulco
11-11-2008, 05:42 PM
i might have figured this out for myself. However I can't install a gem that is REQUIRED for my applicatoin:

http://pastie.org/312666

lulvulco
11-11-2008, 05:47 PM
uhhh, the documentation around here is frustrating. from the cpanel you go to gems and it says:

You will need to add /home/lulvulco/ruby/gems to the include path.
You can do this by adding the following code to your script:
$:.push("/home/lulvulco/ruby/gems")


what script are they referring to?

cade
11-11-2008, 08:01 PM
Cpanel's implementation of Gem/ Rails is pretty flaky. I would recommend setting up your own repository using the instructions at http://helpdesk.hostmonster.com/kb/index.php?x=&mod_id=2&id=325 and forgo Cpanel's crap completely.