aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/rubygems_ext.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/rubygems_ext.rb')
-rw-r--r--lib/bundler/rubygems_ext.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb
index 2eb81b37..8429d439 100644
--- a/lib/bundler/rubygems_ext.rb
+++ b/lib/bundler/rubygems_ext.rb
@@ -111,6 +111,11 @@ module Gem
end
def add_bundler_dependencies(*groups)
+ Bundler.ui.warn "#add_bundler_dependencies is deprecated and will " \
+ "be removed in Bundler 1.0. Instead, please use the #gemspec method " \
+ "in your Gemfile, which will pull in any dependencies specified in " \
+ "your gemspec"
+
groups = [:default] if groups.empty?
Bundler.definition.dependencies.each do |dep|
if dep.groups.include?(:development)