lib/bundler/capistrano.rb in bundler-1.15.4 vs lib/bundler/capistrano.rb in bundler-1.16.0.pre.1
- old
+ new
@@ -1,5 +1,10 @@
# frozen_string_literal: true
+
+require "bundler/shared_helpers"
+Bundler::SharedHelpers.major_deprecation 2,
+ "The Bundler task for Capistrano. Please use http://github.com/capistrano/bundler"
+
# Capistrano task for Bundler.
#
# Add "require 'bundler/capistrano'" in your Capistrano deploy.rb, and
# Bundler will be activated after each new deployment.
require "bundler/deployment"