Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 0 additions & 60 deletions exe/bundle_ruby

This file was deleted.

155 changes: 0 additions & 155 deletions spec/other/bundle_ruby_spec.rb

This file was deleted.

8 changes: 0 additions & 8 deletions spec/other/major_deprecation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@
bundle! "install"
end

describe "bundle_ruby" do
it "prints a deprecation" do
bundle_ruby
warnings.gsub! "\nruby #{RUBY_VERSION}", ""
expect(warnings).to have_major_deprecation "the bundle_ruby executable has been removed in favor of `bundle platform --ruby`"
end
end

describe "Bundler" do
describe ".clean_env" do
it "is deprecated in favor of .original_env" do
Expand Down
5 changes: 0 additions & 5 deletions spec/support/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,6 @@ def bundler(cmd, options = {})
bundle(cmd, options)
end

def bundle_ruby(options = {})
options["bundle_bin"] = bindir.join("bundle_ruby")
bundle("", options)
end

def ruby(ruby, options = {})
env = (options.delete(:env) || {}).map {|k, v| "#{k}='#{v}' " }.join
ruby = ruby.gsub(/["`\$]/) {|m| "\\#{m}" }
Expand Down