My local ruby installation is located in /usr/local/bin/ruby and my server's installation is located in /usr/bin/ruby. It is a pain changing the location in dispatch.fcgi, dispatch.cgi, and dispatch.rb so I figure the best plan is to move my local installation to /usr/bin/ ruby. Is this possible? Is there any easier way to make these changes?
on 2007-05-24 02:43
on 2007-05-24 04:06
if you have /usr/bin/env lying around you could change the dispatch files to call that instead: #!/usr/bin/evn ruby
on 2007-05-24 04:09
Would that prevent me from testing locally?
on 2007-05-24 08:39
I just installed the full stack in about 1 hour following the instructions at: http://www.maconrails.com/ I chose to use a different location: /users/xxx/src rathe than a global location and only had to replace obvious paths. If you are on linux rather than a Mac the instructions will almost work as well as they are virtually all terminal commands. Just pay attention around the setup for PATH. Michael