[oe-commits] Christopher Larson : ruby: find gems relative to its own location

git at git.openembedded.org git at git.openembedded.org
Thu Dec 5 18:46:25 UTC 2013


Module: meta-openembedded.git
Branch: master
Commit: 793c1c08cf3ac826f775cecd2e9da0361edc821d
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=793c1c08cf3ac826f775cecd2e9da0361edc821d

Author: Christopher Larson <kergoth at gmail.com>
Date:   Wed Nov 27 10:50:19 2013 -0700

ruby: find gems relative to its own location

Rather than hardcoding ${datadir}/rubygems, we can let it find the gems
relative to its own location, to make it relocatable.

Signed-off-by: Christopher Larson <kergoth at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb
index de51f2f..883bb98 100644
--- a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb
+++ b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb
@@ -17,10 +17,10 @@ SRC_URI[sha256sum] = "d192d1afc46a7ef27b9d0a3c7a67b509048984db2c38907aa82641bdf9
 
 EXTRA_OECONF = "\
     --enable-wide-getaddrinfo \
-    --with-rubygemsdir=${datadir}/rubygems \
     --disable-versioned-paths \
     --disable-rpath \
     --enable-shared \
+    --enable-load-relative \
 "
 
 EXTRA_OEMAKE = " \



More information about the Openembedded-commits mailing list