Bug 233612

Summary: Update devel/rubygem-jruby-jars to version 9.2.4.0
Product: Ports & Packages Reporter: Pedro F. Giffuni <pfg>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Only Me CC: swills
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (ruby)
Hardware: Any   
OS: Any   
Bug Depends on: 229163    
Bug Blocks:    
Attachments:
Description Flags
Update jruby-jars and use jgem none

Description Pedro F. Giffuni freebsd_committer freebsd_triage 2018-11-28 16:09:53 UTC
Created attachment 199642 [details]
Update jruby-jars and use jgem

I originally had this as part of PR229163, but I am splitting it out because I think it points out a structural problem:

Ports depending on jruby should not depend at all on installing the native ruby as they are generally incompatible: Newer jruby is compatible with ruby 2.5, older jruby is compatible with ruby 2.3. We currently ship Ruby 2.4 as default.
Furthermore jruby is faster than the regular Ruby and people may want to use it on it's own without other ruby versions interfering.

jruby ships with jgem which I am using for updating this port but my approach is unelegant as we are still installing the alternative ruby infrastructure. A clean structure should be devised as all ports that depend jruby (USES = jruby ?) are affected:

databases/rubygem-activerecord-jdbc-adapter
databases/rubygem-activerecord-jdbcmysql-adapter
databases/rubygem-jdbc-mysql
devel/rubygem-warbler
sysutils/puppetserver6
www/rubygem-jruby-rack
Comment 1 Nathan 2018-11-29 02:36:12 UTC
Comment on attachment 199642 [details]
Update jruby-jars and use jgem

Looks good, glad to see variables were placed in correct order
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-12-09 19:14:33 UTC
A commit references this bug:

Author: swills
Date: Sun Dec  9 19:13:40 UTC 2018
New revision: 487075
URL: https://svnweb.freebsd.org/changeset/ports/487075

Log:
  devel/rubygem-jruby-jars: update to version 9.2.4.0

  PR:		233612
  Submitted by:	pfg

Changes:
  head/devel/rubygem-jruby-jars/Makefile
  head/devel/rubygem-jruby-jars/distinfo
Comment 3 Steve Wills freebsd_committer freebsd_triage 2018-12-09 19:16:08 UTC
Committed, thanks!