From 22f4980a21cea538096ead610451bf32bd386c66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Fri, 25 Dec 2015 00:26:46 +0100 Subject: [PATCH] :fire: deprecated ruby-local-exec It was useless for a while now. I should have nuked it prior to the 1.0.0 release but I forgot :( --- bin/ruby-local-exec | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 bin/ruby-local-exec diff --git a/bin/ruby-local-exec b/bin/ruby-local-exec deleted file mode 100755 index de57897..0000000 --- a/bin/ruby-local-exec +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env bash -# -# `ruby-local-exec` is a drop-in replacement for the standard Ruby -# shebang line: -# -# #!/usr/bin/env ruby-local-exec -# -# Use it for scripts inside a project with an `.rbenv-version` -# file. When you run the scripts, they'll use the project-specified -# Ruby version, regardless of what directory they're run from. Useful -# for e.g. running project tasks in cron scripts without needing to -# `cd` into the project first. - -set -e -export RBENV_DIR="${1%/*}" - -[ -n "$RBENV_SILENCE_WARNINGS" ] || { - echo "rbenv: \`ruby-local-exec' is deprecated and will be removed in the next release." - echo " To upgrade: https://github.com/rbenv/rbenv/wiki/ruby-local-exec" - echo -} >&2 - -exec ruby "$@"