From ea02dbe04fa40f6f9201bd37eac1255ccc6bd8ff Mon Sep 17 00:00:00 2001 From: Takuya Noguchi Date: Mon, 9 May 2022 01:36:06 +0000 Subject: [PATCH] Remove bin/rdoc Signed-off-by: Takuya Noguchi --- CONTRIBUTING.rdoc | 2 +- bin/rdoc | 29 ----------------------------- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100755 bin/rdoc diff --git a/CONTRIBUTING.rdoc b/CONTRIBUTING.rdoc index e8430ddb4..b7c81f55d 100644 --- a/CONTRIBUTING.rdoc +++ b/CONTRIBUTING.rdoc @@ -12,7 +12,7 @@ If you wish to run the unit and functional tests that come with Rake: * +cd+ into the top project directory of rake. * Install gem dependency using bundler: - $ bundle install # Install bundler, minitest and rdoc + $ bundle install # Install bundler, minitest, etc. * Run the test suite diff --git a/bin/rdoc b/bin/rdoc deleted file mode 100755 index a952e7988..000000000 --- a/bin/rdoc +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -# -# This file was generated by Bundler. -# -# The application 'rdoc' is installed as part of a gem, and -# this file is here to facilitate running it. -# - -require "pathname" -ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", - Pathname.new(__FILE__).realpath) - -bundle_binstub = File.expand_path("../bundle", __FILE__) - -if File.file?(bundle_binstub) - if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ - load(bundle_binstub) - else - abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. -Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") - end -end - -require "rubygems" -require "bundler/setup" - -load Gem.bin_path("rdoc", "rdoc")