[Bug 193195] lang/ruby21 deleted lang/ruby19

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 31 21:29:58 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193195

--- Comment #4 from Steve Wills <swills at FreeBSD.org> ---
(In reply to gja822 from comment #3)
> Thanks for reply. But I've followed all instructions in ports/UPDATING from
> 20130527 and later (and much earlier), so I hadn't expected such behaviour.
> I had 1.9 as default for a long time, till AFAIR 20130527 (when I made
> ruby=2.1 in make.conf instead of DEFAULT_RUBY_VER=1.9 or smth similar).
> After that I had no such problems. (But, I suppose, some other port(s)
> ignored that line in make.conf and reinstalled ruby-1.9).

If you had:

ruby-1.9.3.547,1

and:

ruby21-2.1.2,1

installed, ruby 1.9 was your default ruby, not 2.1.

If 2.1 was default, you would have had:

ruby-2.1.2

and perhaps:

ruby19-1.9.3.547,1

The one without the suffix in the name is the default one.

> Well, from lang/ruby21 directory first time I made deinstall (which deleted
> previously upgraded ruby-1.9 version) and afterwards I couldn't make install
> ("ruby-2.1 and ruby21-2.1 conflict" since installing in the same place).
> O.K., may be it's not wrong, but some recommendations on changing default
> versions or something like that would be useful.

When changing the default version, you have to at least reinstall all versions
of ruby that are installed. 

> I've finally pkg delete'd wrong "ruby21" version with dependants and
> reinstalled all afterwards manually, so I cannot reproduce any more.

Ok, in that case I'm going to be unable to solve this issue, so I propose we
close this bug. Thanks for the report, if similar issues come up, I'll take a
look.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ruby mailing list