File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Build-Depends: autotools-dev,
2121 netbase,
2222 openssl,
2323 procps,
24- ruby | ruby-interpreter | ruby1.8 ,
24+ ruby2.0 | ruby | ruby-interpreter ,
2525 rubygems-integration (>= 1.6),
2626 systemtap-sdt-dev [linux-any],
2727 zlib1g-dev
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ export SOURCE := $(shell dpkg-parsechangelog -SSource)
1616export RUBY_VERSION := $(patsubst ruby% ,% ,$(SOURCE ) )
1717export RUBY_API_VERSION := $(RUBY_VERSION ) .0
1818
19- # Bootstrap with Ruby 1.8 if proper Ruby is not available
20- baseruby =$(shell test -x /usr/bin/ruby && echo /usr/bin/ruby || echo /usr/bin/ruby1.8 )
19+ # Gem::Security is required, so use ruby 2.0 or later
20+ baseruby =$(shell test -x /usr/bin/ruby && ruby -rgem/security -e0 2>/dev/null && echo /usr/bin/ruby || echo /usr/bin/ruby2.0 )
2121
2222configure_options += --enable-multiarch
2323configure_options += --target=$(DEB_HOST_MULTIARCH )
You can’t perform that action at this time.
0 commit comments