Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 2015 03:03:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199828] category/port:zfstools doesn't work with ruby21 (or ruby20 currently)
Message-ID:  <bug-199828-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: parakleta@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199828-13>