Have installed Ruby using Darwin Ports and want to change my path to use it. Where do I change this, and what do I type? I''m not a Unix genius, but it''s located: /opt/local/bin/ if I run the command $which ruby I get returned /usr/bin/ruby which is the standard install, and I''m having issues with it and readline. So I want to change it to the new version???? Help.... Thanks. Cammo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
You have to move /opt/local/bin before /usr/bin in your PATH environment variable. For bash, do something like export PATH="/opt/local/bin:/usr/bin....." and for tcsh it should be setenv. Or you can make a symlink like this: ln -s /opt/local/bin/ruby /usr/bin/ruby Vish On 10/9/06, cammo <photos-boRYm1CXYLPvu62uXDUzXLpzq4S04n8Q@public.gmane.org> wrote:> > > Have installed Ruby using Darwin Ports and want to change my path to > use it. Where do I change this, and what do I type? I''m not a Unix > genius, but it''s located: > /opt/local/bin/ > > if I run the command > $which ruby > > I get returned /usr/bin/ruby which is the standard install, and I''m > having issues with it and readline. So I want to change it to the new > version???? > > Help.... > > Thanks. > Cammo > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ahh many thanks, Got it going now. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---