Reply to topic
Rails File Directory on Local Machine
jerome@anapamu.org


Joined: 01 Jul 2008
Posts: 1
Location: Santa Barbara, CA
Reply with quote
I used
http://hivelogic.com/articles/2007/02/ruby-rails-mongrel-mysql-osx
to set up my local development Ruby site.

But, would like to have my local match the Apache set-up on hostmysite.com, e.g. htdocs etc, to avoid tweaking the links once I post to the server.

Has anyone dealt with this. Or should I work on using the local Apache server instead of Mongrel?

Thanks, if anyone has suggestion.
Mongrel
comprug
Forum Regular

Joined: 15 Feb 2006
Posts: 347
Reply with quote
For ease, I would use mongrel at home and the apache setup on HMS. There really is not much that you need to change except add a dispatch.fcgi and .htaccess to the public directly. you can generate those by generating a new rails app (on HMS's server), moving them to the existing rails app, and deleting the rails app you created for that purpose.
Rails File Directory on Local Machine
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic