Bug 40930

Summary: Conditionally installing bin/ruby for ruby-devel
Product: Ports & Packages Reporter: Sean Chittenden <seanc>
Component: Individual Port(s)Assignee: Akinori MUSHA <knu>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Sean Chittenden freebsd_committer freebsd_triage 2002-07-23 20:20:05 UTC
	If a user only has ruby-devel installed, every time the user installs
	or upgrades, they have to create a symlink from bin/ruby17 to bin/ruby.
	This patch negates the need to perform that step after every
	upgrade/install.

How-To-Repeat: 	portupgrade -f ruby
Comment 1 Patrick Li freebsd_committer freebsd_triage 2002-07-23 21:36:25 UTC
Responsible Changed
From-To: freebsd-ports->knu

Over to maintainer
Comment 2 Akinori MUSHA 2002-07-23 21:58:21 UTC
At Tue, 23 Jul 2002 12:15:05 -0700 (PDT),
Sean Chittenden wrote:
> >Description:
> 	If a user only has ruby-devel installed, every time the user installs
> 	or upgrades, they have to create a symlink from bin/ruby17 to bin/ruby.
> 	This patch negates the need to perform that step after every
> 	upgrade/install.

This is intentional.  RUBY_DEFAULT_VER is the variable to specify what
version of ruby should be aliased to /usr/local/bin/ruby, and RUBY_VER
is the variable to specify for which version of ruby ports should
build themselves.

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"When I leave I don't know what I'm hoping to find
              When I leave I don't know what I'm leaving behind.."
Comment 3 Akinori MUSHA freebsd_committer freebsd_triage 2002-08-05 19:48:50 UTC
State Changed
From-To: open->closed

There is the canonical way to do that, that is to define RUBY_DEFAULT_VER. 

I'm closing this PR but we can discuss the Ruby ports framework in private 
or on the public lists.