ruby: use --disable-rubygems
PATCH 1/2 ruby: use --disable-rubygems
At least for ruby 2.x we need to --disable-rubygems besides removing the gems files to avoid the requires.
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/ruby/ruby.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/ruby/ruby.mk +1 -1
@@ -12,7 +12,7 @@ RUBY_DEPENDENCIES = host-pkgconf host-ruby HOST_RUBY_DEPENDENCIES = host-pkgconf RUBY_MAKE_ENV = $(TARGET_MAKE_ENV) RUBY_MAKE = $(MAKE1) -RUBY_CONF_OPT = --disable-install-doc --disable-rpath +RUBY_CONF_OPT = --disable-install-doc --disable-rpath --disable-rubygems HOST_RUBY_CONF_OPT = --disable-install-doc \ --with-out-ext=curses,openssl,readline \ --without-gmp
Signature · 1 line
2.0.4
PATCH 2/2 ruby: bump to version 2.1.3
Also add hash file.
Signed-off-by Gustavo Zacarias <[email protected]>
--- package/ruby/ruby.hash | 2 ++ package/ruby/ruby.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 package/ruby/ruby.hash
package/ruby/ruby.hash new file +2 -0
@@ -0,0 +1,2 @@ +# From https://www.ruby-lang.org/en/downloads/ +md5 74a37b9ad90e4ea63c0eed32b9d5b18f ruby-2.1.3.tar.gz
package/ruby/ruby.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ RUBY_VERSION_MAJOR = 2.1 -RUBY_VERSION = $(RUBY_VERSION_MAJOR).2 +RUBY_VERSION = $(RUBY_VERSION_MAJOR).3 RUBY_VERSION_EXT = 2.1.0 RUBY_SITE = http://cache.ruby-lang.org/pub/ruby/$(RUBY_VERSION_MAJOR) RUBY_DEPENDENCIES = host-pkgconf host-ruby
Signature · 1 line
2.0.4
PATCH 1/2 ruby: use --disable-rubygems
In reply to Gustavo ZacariasDear Gustavo Zacarias,
Quoted 7 lines · Gustavo Zacarias
At least for ruby 2.x we need to --disable-rubygems besides removing the gems files to avoid the requires.
Signed-off-by Gustavo Zacarias <[email protected]>--- package/ruby/ruby.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Both applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com