ruby clean up

46 views
Skip to first unread message

Joe Guerra

unread,
Jul 3, 2018, 10:50:53 AM7/3/18
to Ruby on Rails: Talk
I have several versions of ruby on my mac, I don't know why I would need them.  But, how would I go about removing previously installed versions?  I'm up to Ruby 2.5 now.

Thanks,
Joe

Hassan Schroeder

unread,
Jul 3, 2018, 11:28:06 AM7/3/18
to rubyonrails-talk
On Tue, Jul 3, 2018 at 7:50 AM, Joe Guerra <JGu...@jginfosys.com> wrote:
> I have several versions of ruby on my mac, I don't know why I would need
> them.

You might need multiple versions because you have legacy code
to maintain, or just like to experiment with rubies other than MRI.

> But, how would I go about removing previously installed versions?

That depends on how you installed them :-)

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

Joe Guerra

unread,
Jul 3, 2018, 11:36:22 AM7/3/18
to Ruby on Rails: Talk
I used homebrew to install ruby.  

I guess I have to install rails on top of each version too.  

Joe Guerra

unread,
Jul 3, 2018, 11:37:29 AM7/3/18
to Ruby on Rails: Talk
I don't have any legacy code.  Just trying to learn this stuff.


On Tuesday, July 3, 2018 at 10:50:53 AM UTC-4, Joe Guerra wrote:

Hassan Schroeder

unread,
Jul 3, 2018, 12:06:00 PM7/3/18
to rubyonrails-talk
On Tue, Jul 3, 2018 at 8:37 AM, Joe Guerra <JGu...@jginfosys.com> wrote:
> I don't have any legacy code. Just trying to learn this stuff.

But chances are at some point you'll run into opportunities/need to
work on other people's legacy code at least. :-)

I would strongly recommend a version manager like rvm or rbenv
regardless. If nothing else it facilitates upgrade testing.

Joe Guerra

unread,
Jul 3, 2018, 1:25:45 PM7/3/18
to Ruby on Rails: Talk
I don't think so.   No luck so far.

Hassan Schroeder

unread,
Jul 3, 2018, 8:10:47 PM7/3/18
to rubyonrails-talk
On Tue, Jul 3, 2018 at 10:25 AM, Joe Guerra <JGu...@jginfosys.com> wrote:
> I don't think so. No luck so far.

>> But chances are at some point you'll run into opportunities/need to
>> work on other people's legacy code at least. :-)

But "so far" doesn't negate the above point. And you'll be way better
off if you're comfortable with e.g. rvm or rbenv or asdf for managing
your development environments.

Andre Joseph Cubeta

unread,
Jul 6, 2018, 2:59:59 AM7/6/18
to rubyonra...@googlegroups.com
Better use version managers like RVM or Rbenv

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBe7sNNfoeDQaxajJPy-XLZzm_AMp0AFNO%3DaoQC00kqQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Frederick Cheung

unread,
Jul 8, 2018, 1:07:14 PM7/8/18
to Ruby on Rails: Talk
On Tuesday, July 3, 2018 at 5:36:22 PM UTC+2, Joe Guerra wrote:
> I used homebrew to install ruby.  
>
>

To remove old Homebrew formulae, see the cleanup section from https://docs.brew.sh/FAQ

Fred
Reply all
Reply to author
Forward
0 new messages