summaryrefslogtreecommitdiff
path: root/bin/erb
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2019-10-16 18:01:35 +0200
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-14 14:09:08 +0900
commitff527e7e3295ece6a8f2bc6a2370038615a43950 (patch)
tree3e4612c831bec2795fa725133376e996dc263f7d /bin/erb
parent763b8fed3dee32ff3bd6c86260f7d4ce4cfaa508 (diff)
Remove binstubs which are generated by `Gem::Installer` now.
There is no real reason to carry these around, since they can be generated during the installation. The `Gem::Installer` generates up to date date stubs, where the racc stubs were of older format and regenerated anyway.
Diffstat (limited to 'bin/erb')
-rwxr-xr-xbin/erb27
1 files changed, 0 insertions, 27 deletions
diff --git a/bin/erb b/bin/erb
deleted file mode 100755
index 89d74fc525..0000000000
--- a/bin/erb
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env ruby
-#
-# This file was generated by RubyGems.
-#
-# The application 'erb' is installed as part of a gem, and
-# this file is here to facilitate running it.
-#
-
-require 'rubygems'
-
-version = ">= 0.a"
-
-str = ARGV.first
-if str
- str = str.b[/\A_(.*)_\z/, 1]
- if str and Gem::Version.correct?(str)
- version = str
- ARGV.shift
- end
-end
-
-if Gem.respond_to?(:activate_bin_path)
-load Gem.activate_bin_path('erb', 'erb', version)
-else
-gem "erb", version
-load Gem.bin_path("erb", "erb", version)
-end