Skip to content

Commit e260266

Browse files
committed
🔨 binstubs
1 parent d1f65ea commit e260266

File tree

4 files changed

+49
-12
lines changed

4 files changed

+49
-12
lines changed

bin/appraisal

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,7 @@
1010

1111
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
1212

13-
bundle_binstub = File.expand_path("bundle", __dir__)
14-
15-
if File.file?(bundle_binstub)
16-
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
17-
load(bundle_binstub)
18-
else
19-
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21-
end
22-
end
23-
2413
require "rubygems"
2514
require "bundler/setup"
2615

27-
load Gem.bin_path("appraisal", "appraisal")
16+
load Gem.bin_path("appraisal2", "appraisal")

bin/erb

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'erb' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12+
13+
require "rubygems"
14+
require "bundler/setup"
15+
16+
load Gem.bin_path("erb", "erb")

bin/kramdown

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'kramdown' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12+
13+
require "rubygems"
14+
require "bundler/setup"
15+
16+
load Gem.bin_path("kramdown", "kramdown")

bin/nokogiri

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
3+
4+
#
5+
# This file was generated by Bundler.
6+
#
7+
# The application 'nokogiri' is installed as part of a gem, and
8+
# this file is here to facilitate running it.
9+
#
10+
11+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12+
13+
require "rubygems"
14+
require "bundler/setup"
15+
16+
load Gem.bin_path("nokogiri", "nokogiri")

0 commit comments

Comments
 (0)