[Bug 199828] category/port:zfstools doesn't work with ruby21 (or ruby20 currently)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 1 03:03:37 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199828
Bug ID: 199828
Summary: category/port:zfstools doesn't work with ruby21 (or
ruby20 currently)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: parakleta at darkreality.org
After upgrading packages recently ruby was increased from v2.0 to v2.1.
zfstools installs its library files in /usr/local/lib/ruby/site_ruby/2.0/ which
the new version of ruby does not inspect, and so the library files cannot be
found.
Installing the ruby20 package restores the old ruby version but with the new
binary /usr/local/bin/ruby20.
Modifying the zfstools scripts
/usr/local/sbin/zfs-(auto-snapshot|cleanup-snapshots|snapshot-mysql) to "#!
/usr/bin/env ruby20" in place of "#! /usr/bin/env ruby" resolved this issue for
me, but maybe the correct solution is to move the libraries into ruby v2.1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list