summaryrefslogtreecommitdiff
path: root/ruby/rbenv/dylib-patch.diff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2016-07-30 07:03:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-30 07:06:40 +0700
commit5d0aa4b4cb6f70014bc645c0a2747bfd8259e407 (patch)
treeb0d67e5b154f8d642b7f223a2bc0691272398197 /ruby/rbenv/dylib-patch.diff
parentcbbc1e448b687e7c5f1facb61844ea45de64917b (diff)
downloadslackbuilds-5d0aa4b4cb6f70014bc645c0a2747bfd8259e407.tar.gz
ruby/rbenv: Added (Groom your app's Ruby environment).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ruby/rbenv/dylib-patch.diff')
-rw-r--r--ruby/rbenv/dylib-patch.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/ruby/rbenv/dylib-patch.diff b/ruby/rbenv/dylib-patch.diff
new file mode 100644
index 0000000000..dc60b42452
--- /dev/null
+++ b/ruby/rbenv/dylib-patch.diff
@@ -0,0 +1,12 @@
+diff -Naur rbenv-1.0.0.orig/libexec/rbenv rbenv-1.0.0/libexec/rbenv
+--- rbenv-1.0.0.orig/libexec/rbenv 2015-12-25 07:12:47.000000000 +1300
++++ rbenv-1.0.0/libexec/rbenv 2016-04-02 14:50:55.733994971 +1300
+@@ -20,7 +20,7 @@
+ exit 1
+ }
+
+-if enable -f "${BASH_SOURCE%/*}"/../libexec/rbenv-realpath.dylib realpath 2>/dev/null; then
++if enable -f /usr/lib/rbenv/libexec/rbenv-realpath.dylib realpath 2>/dev/null; then
+ abs_dirname() {
+ local path="$(realpath "$1")"
+ echo "${path%/*}"