diff options
Diffstat (limited to 'lib/bundler/cli/console.rb')
-rw-r--r-- | lib/bundler/cli/console.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/cli/console.rb b/lib/bundler/cli/console.rb index 7c7010e7cf..c0ced54be2 100644 --- a/lib/bundler/cli/console.rb +++ b/lib/bundler/cli/console.rb @@ -7,6 +7,10 @@ module Bundler end def run + Bundler.ui.deprecate "bundle console is deprecated and will be replaced " \ + "by `bin/console` generated by `bundle gem <name>` " \ + "in Bundler 2.0.", true + group ? Bundler.require(:default, *(group.split.map!(&:to_sym))) : Bundler.require ARGV.clear |