Skip to content

Commit a593297

Browse files
committed
run: git cococo bundle binstubs next_rails --standalone
1 parent 33e41db commit a593297

File tree

6 files changed

+12
-90
lines changed

6 files changed

+12
-90
lines changed

bin/bundle_report

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,7 @@
88
# this file is here to facilitate running it.
99
#
1010

11-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
11+
$:.unshift File.expand_path "..", __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-
24-
require "rubygems"
2513
require "bundler/setup"
26-
27-
load Gem.bin_path("next_rails", "bundle_report")
14+
load File.expand_path "../../../../../.anyenv/envs/rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/next_rails-1.3.0/exe/bundle_report", __dir__

bin/deprecations

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,7 @@
88
# this file is here to facilitate running it.
99
#
1010

11-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
11+
$:.unshift File.expand_path "..", __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-
24-
require "rubygems"
2513
require "bundler/setup"
26-
27-
load Gem.bin_path("next_rails", "deprecations")
14+
load File.expand_path "../../../../../.anyenv/envs/rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/next_rails-1.3.0/exe/deprecations", __dir__

bin/gem-next-diff

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,7 @@
88
# this file is here to facilitate running it.
99
#
1010

11-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
11+
$:.unshift File.expand_path "..", __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-
24-
require "rubygems"
2513
require "bundler/setup"
26-
27-
load Gem.bin_path("next_rails", "gem-next-diff")
14+
load File.expand_path "../../../../../.anyenv/envs/rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/next_rails-1.3.0/exe/gem-next-diff", __dir__

bin/next

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,7 @@
88
# this file is here to facilitate running it.
99
#
1010

11-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
11+
$:.unshift File.expand_path "..", __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-
24-
require "rubygems"
2513
require "bundler/setup"
26-
27-
load Gem.bin_path("next_rails", "next")
14+
load File.expand_path "../../../../../.anyenv/envs/rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/next_rails-1.3.0/exe/next", __dir__

bin/next.sh

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,7 @@
88
# this file is here to facilitate running it.
99
#
1010

11-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
11+
$:.unshift File.expand_path "..", __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-
24-
require "rubygems"
2513
require "bundler/setup"
26-
27-
load Gem.bin_path("next_rails", "next.sh")
14+
load File.expand_path "../../../../../.anyenv/envs/rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/next_rails-1.3.0/exe/next.sh", __dir__

bin/next_rails

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,7 @@
88
# this file is here to facilitate running it.
99
#
1010

11-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
11+
$:.unshift File.expand_path "..", __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-
24-
require "rubygems"
2513
require "bundler/setup"
26-
27-
load Gem.bin_path("next_rails", "next_rails")
14+
load File.expand_path "../../../../../.anyenv/envs/rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/next_rails-1.3.0/exe/next_rails", __dir__

0 commit comments

Comments
 (0)