From 42e0b5816128713a11dede810847eceb7c7c31fa Mon Sep 17 00:00:00 2001 From: Henne Vogelsang Date: Wed, 14 Mar 2018 23:23:43 +0100 Subject: [PATCH] Remove version suffix from binstubs Binstubs are nice but not with openSUSE specific ruby binary names that break on other environments. --- bin/bundle | 2 +- bin/rake | 2 +- bin/setup | 2 +- bin/update | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/bundle b/bin/bundle index 9ca6ce2b..66e9889e 100755 --- a/bin/bundle +++ b/bin/bundle @@ -1,3 +1,3 @@ -#!/usr/bin/env ruby.ruby2.4 +#!/usr/bin/env ruby ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) load Gem.bin_path('bundler', 'bundle') diff --git a/bin/rake b/bin/rake index c5376b0f..17240489 100755 --- a/bin/rake +++ b/bin/rake @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby.ruby2.4 +#!/usr/bin/env ruby require_relative '../config/boot' require 'rake' Rake.application.run diff --git a/bin/setup b/bin/setup index e87a485f..e620b4da 100755 --- a/bin/setup +++ b/bin/setup @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby.ruby2.4 +#!/usr/bin/env ruby require 'pathname' require 'fileutils' include FileUtils diff --git a/bin/update b/bin/update index b19460d7..a8e4462f 100755 --- a/bin/update +++ b/bin/update @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby.ruby2.4 +#!/usr/bin/env ruby require 'pathname' require 'fileutils' include FileUtils