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? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
if you have /usr/bin/env lying around you could change the dispatch files to call that instead: #!/usr/bin/evn ruby On May 23, 2007, at 8:42 PM, seanstewart wrote:> 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? > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Would that prevent me from testing locally? On May 23, 9:03 pm, Faisal N Jawdat <fai...-yPPMdBsEuU/QT0dZR+AlfA@public.gmane.org> wrote:> if you have /usr/bin/env lying around you could change the dispatch > files to call that instead: > > #!/usr/bin/evn ruby > > On May 23, 2007, at 8:42 PM, seanstewart wrote: > > > 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?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On May 23, 5:42 pm, seanstewart <seanstewart...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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?--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---