diff options
Diffstat (limited to 'exe')
-rwxr-xr-x | exe/bundle_ruby | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/exe/bundle_ruby b/exe/bundle_ruby index 49767304e2..847708c3ea 100755 --- a/exe/bundle_ruby +++ b/exe/bundle_ruby @@ -3,14 +3,12 @@ Signal.trap("INT") { exit 1 } +require "bundler/errors" require "bundler/ruby_version" require "bundler/ruby_dsl" require "bundler/shared_helpers" module Bundler - class GemfileError < RuntimeError; end - class GemfileEvalError < GemfileError; end - class Dsl include RubyDsl @@ -44,7 +42,7 @@ module Bundler end end -STDERR.puts "Warning: bundle_ruby will be deprecated in Bundler 2.0.0." +Bundler::SharedHelpers.major_deprecation("the bundle_ruby executable has been removed in favor of `bundle platform --ruby`") dsl = Bundler::Dsl.new begin |