I have tried to update my ruby version many different ways, reading forums and the like, and every time, it looks like the installation/upgrade completes without errors, but when I run ruby-v, it still spits out ruby 1.8.7 instead of 1.9.2. The latest that I have tried was to download the newest version of Ruby from ruby-lang.org. Then ran autoconf on the folder. Then ./configure --program-suffix=19 --enable-shared --with-readline-dir=/usr/local . (which was code I found from someone''s blog on installing 1.9.1) Then make && sudo make install This didn''t update the version. I have tried everything that I know how to do in Terminal and by following instructions. Anyone have any ideas? -- Posted via http://www.ruby-forum.com/. -- 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.
On Mar 21, 6:33 am, Christopher Warrington <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I have tried to update my ruby version many different ways, reading > forums and the like, and every time, it looks like the > installation/upgrade completes without errors, but when I run ruby-v, it > still spits out ruby 1.8.7 instead of 1.9.2. > > The latest that I have tried was to download the newest version of Ruby > from ruby-lang.org. > > Then ran autoconf on the folder. > > Then ./configure --program-suffix=19 --enable-shared > --with-readline-dir=/usr/local . > (which was code I found from someone''s blog on installing 1.9.1) > > Then make && sudo make install > > This didn''t update the version. >What you''ve got above will install ruby 1.9 as ruby19 (and irb is irb19 etc.) so running just ruby -v will get you 1.8.7> I have tried everything that I know how to do in Terminal and by > following instructions. Anyone have any ideas? >rvm is by far the easiest way of handling multiple ruby versions Fred> -- > Posted viahttp://www.ruby-forum.com/.-- 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.
+1 for RVM. There is literally no substitute for the simplicity, the documentation is excellent, and it''s really on its way to becoming the defacto standard for Ruby deployment (perhaps in competition on MacOS with Homebrew). See http://rvm.beginrescueend.com/ for more information. On Mon, Mar 21, 2011 at 8:50 AM, Frederick Cheung < frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On Mar 21, 6:33 am, Christopher Warrington <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: > > I have tried to update my ruby version many different ways, reading > > forums and the like, and every time, it looks like the > > installation/upgrade completes without errors, but when I run ruby-v, it > > still spits out ruby 1.8.7 instead of 1.9.2. > > > > The latest that I have tried was to download the newest version of Ruby > > from ruby-lang.org. > > > > Then ran autoconf on the folder. > > > > Then ./configure --program-suffix=19 --enable-shared > > --with-readline-dir=/usr/local . > > (which was code I found from someone''s blog on installing 1.9.1) > > > > Then make && sudo make install > > > > This didn''t update the version. > > > > What you''ve got above will install ruby 1.9 as ruby19 (and irb is > irb19 etc.) so running just ruby -v will get you 1.8.7 > > > I have tried everything that I know how to do in Terminal and by > > following instructions. Anyone have any ideas? > > > rvm is by far the easiest way of handling multiple ruby versions > > Fred > > -- > > Posted viahttp://www.ruby-forum.com/. > > -- > 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. > >-- 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.