Peter
2010-Mar-23 20:25 UTC
How to move ruby from /usr/bin/ to /usr/local/bin/ on OSX Snow leopard 10.6
Hi i''m a beginner to ruby on rails and I am trying to start a tutorial but having trouble making sure ruby is in the right place. When i use the terminal and ask "which ruby" it comes back with /usr/bin/ whilst I think i needs it to be in usr/local/bin but i don''t know how to get it there. There is not even a bin folder in the local area at present. I am following these up to date installation instructions http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard but still can''t get it in the local folder. ANy help would be very grateful. Regards Peter -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Conrad Taylor
2010-Mar-23 21:50 UTC
Re: How to move ruby from /usr/bin/ to /usr/local/bin/ on OSX Snow leopard 10.6
On Tue, Mar 23, 2010 at 1:25 PM, Peter <Peterorpete-BUHhN+a2lJ4@public.gmane.org> wrote:> Hi i''m a beginner to ruby on rails and I am trying to start a tutorial > but having trouble making sure ruby is in the right place. When i use > the terminal and ask "which ruby" it comes back with /usr/bin/ whilst > I think i needs it to be in usr/local/bin but i don''t know how to get > it there. There is not even a bin folder in the local area at present. > I am following these up to date installation instructions > > http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard > but still can''t get it in the local folder. ANy help would be very > grateful. > > Regards Peter > >Peter, if you''re talking about moving the system installed Ruby, I would recommend against this action because this is installed by the OS. Also, you do not know what service(s) depends on it. However, I would recommend using Ruby Version Manager (RVM) to manage your Ruby installations. Thus, you can find more information about RVM here: http://rvm.beginrescueend.com Good luck, -Conrad> -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Peter
2010-Mar-24 00:09 UTC
Re: How to move ruby from /usr/bin/ to /usr/local/bin/ on OSX Snow leopard 10.6
Hey thanks for the help but i think i solved my problem now, I downloaded the latest xcode and made sure i restarted the computer before reinstalling everything, now says its in /usr/local/bin/ruby where the the tutorial says it should be. On Mar 23, 8:25 pm, Peter <Peterorp...-BUHhN+a2lJ4@public.gmane.org> wrote:> Hi i''m a beginner to ruby on rails and I am trying to start a tutorial > but having trouble making sure ruby is in the right place. When i use > the terminal and ask "which ruby" it comes back with /usr/bin/ whilst > I think i needs it to be in usr/local/bin but i don''t know how to get > it there. There is not even a bin folder in the local area at present. > I am following these up to date installation instructionshttp://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-sn... > but still can''t get it in the local folder. ANy help would be very > grateful. > > Regards Peter-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
ken foust
2010-Mar-24 01:57 UTC
Re: How to move ruby from /usr/bin/ to /usr/local/bin/ on OSX Snow leopard 10.6
Peter <Peterorpete@...> writes:> > Hi i''m a beginner to ruby on rails and I am trying to start a tutorial> http://hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-snow-leopard > but still can''t get it in the local folder. ANy help would be very > grateful. > > Regards Peter >Peter is your $PATH set to /usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin If not it will default to usr/bin and the apple rails you can check by typing echo $PATH -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Conrad Taylor
2010-Mar-24 10:17 UTC
Re: Re: How to move ruby from /usr/bin/ to /usr/local/bin/ on OSX Snow leopard 10.6
On Tue, Mar 23, 2010 at 5:09 PM, Peter <Peterorpete-BUHhN+a2lJ4@public.gmane.org> wrote:> Hey thanks for the help but i think i solved my problem now, I > downloaded the latest xcode and made sure i restarted the computer > before reinstalling everything, now says its in /usr/local/bin/ruby > where the the tutorial says it should be. > >Peter, you shouldn''t have to install Ruby 1.8.7 being that it comes with Mac OS 10.6. The only thing that you needed to do was upgrade Rubygems and Rails. Thus, the instructions appear to be dated being the current version of Rubygems is 1.3.6. Good luck, -Conrad> > On Mar 23, 8:25 pm, Peter <Peterorp...-BUHhN+a2lJ4@public.gmane.org> wrote: > > Hi i''m a beginner to ruby on rails and I am trying to start a tutorial > > but having trouble making sure ruby is in the right place. When i use > > the terminal and ask "which ruby" it comes back with /usr/bin/ whilst > > I think i needs it to be in usr/local/bin but i don''t know how to get > > it there. There is not even a bin folder in the local area at present. > > I am following these up to date installation instructionshttp:// > hivelogic.com/articles/compiling-ruby-rubygems-and-rails-on-sn... > > but still can''t get it in the local folder. ANy help would be very > > grateful. > > > > Regards Peter > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.