Package: release.debian.org Severity: normal Tags: jessie User: release.debian....@packages.debian.org Usertags: pu
I would like to upload a stable update for ruby-standalone, that makes it work correctly with bundler, which is a very important use case. For unstable, this has been fixed in 0.6. The diff is attached. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- Antonio Terceiro <terce...@debian.org>
diff --git a/Makefile b/Makefile index dfe3f10..edb210b 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ else PREFIX = /usr RUBYLIB = $(shell ruby -e 'puts RbConfig::CONFIG["vendordir"]') endif +RUBY_INSTALL_NAME = $(shell ruby -e 'puts RbConfig::CONFIG["ruby_install_name"]') BINSTUBS := $(shell dpkg -L ruby | grep /usr/bin/ | xargs -n 1 basename) BINSTUBS := $(subst ruby,,$(BINSTUBS)) BINARIES = ruby $(BINSTUBS) @@ -49,6 +50,7 @@ install: all install -d $(DESTDIR)$(RUBYLIB) install -d $(DESTDIR)$(PREFIX)/share/man/man1 install -m 0755 $(BINARIES) $(EXTRA_BINARIES) $(DESTDIR)$(PREFIX)/lib/ruby-standalone/bin + ln -sfT ruby $(DESTDIR)$(PREFIX)/lib/ruby-standalone/bin/$(RUBY_INSTALL_NAME) install -m 0755 ruby-standalone $(DESTDIR)/$(PREFIX)/bin install -m 0644 debian_ruby_standalone.rb $(DESTDIR)$(RUBYLIB) install -m 0644 debian_ruby_standalone_config.rb $(DESTDIR)$(RUBYLIB) diff --git a/debian/changelog b/debian/changelog index 721b8ac..2004b22 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +ruby-standalone (0.5+deb8u1) jessie; urgency=medium + + * Install `rubyX.Y` as a link to `ruby` so that binaries installed by + bundler work. (Bundler forces Rubygems to use a shebang like `/usr/bin/env + rubyX.Y`). + + -- Antonio Terceiro <terce...@debian.org> Sat, 20 Feb 2016 21:41:13 -0200 + ruby-standalone (0.5) unstable; urgency=medium * Force shebang of installed scripts to use the ruby from ruby-standalone
signature.asc
Description: PGP signature