[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27438] [PATCH 3/3] gnu: ruby-2.3: Fix search path specification.
From: |
Christopher Baines |
Subject: |
[bug#27438] [PATCH 3/3] gnu: ruby-2.3: Fix search path specification. |
Date: |
Wed, 21 Jun 2017 07:38:36 +0100 |
* gnu/packages/ruby.scm (ruby-2.3)[native-search-paths]: Specify the native
search path, such that the version included in the path is 2.3, rather than
the inherited version.
---
gnu/packages/ruby.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 098024fc0..69835a771 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -120,7 +120,13 @@ a focus on simplicity and productivity.")
(snippet `(begin
;; Remove bundled libffi
(delete-file-recursively "ext/fiddle/libffi-3.2.1")
- #t))))))
+ #t))))
+ (native-search-paths
+ (list (search-path-specification
+ (variable "GEM_PATH")
+ (files (list (string-append "lib/ruby/gems/"
+ (version-major+minor version)
+ ".0"))))))))
(define-public ruby-2.2
(package (inherit ruby)
--
2.13.1