summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenzo Manacorda <lorenzo.manacorda@gmail.com>2015-09-16 14:29:51 +0200
committerLorenzo Manacorda <lorenzo.manacorda@gmail.com>2015-09-16 15:07:57 +0200
commit4a0995c133686f191e79f7b216b61808d0f0d6d0 (patch)
treef2d8b70987dd8aa98cef9f259eaab9cb62c14649
parentb2297c291ea452ee19634105b75525c4223122c0 (diff)
downloadbundler-4a0995c133686f191e79f7b216b61808d0f0d6d0.tar.gz
add deprecation message
-rw-r--r--lib/bundler/cli/install.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb
index 676aca454c..e9b95c6462 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -23,6 +23,10 @@ module Bundler
"install --cache`."
exit 1
end
+ if options[:system]
+ Bundler.ui.error "Please use `bundle config path.system true` " \
+ "instead of `bundle install --system`"
+ end
ENV["RB_USER_INSTALL"] = "1" if Bundler::FREEBSD