summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--task/bundler_2.rake10
1 files changed, 10 insertions, 0 deletions
diff --git a/task/bundler_2.rake b/task/bundler_2.rake
new file mode 100644
index 0000000000..b76b63d85f
--- /dev/null
+++ b/task/bundler_2.rake
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+namespace :bundler_2 do
+ task :install do
+ ENV["BUNDLER_SPEC_SUB_VERSION"] = "2.0.0.dev"
+ Rake::Task["spec:travis:sub_version"].invoke
+ Rake::Task["install"].invoke
+ sh("git", "checkout", "--", "lib/bundler/version.rb")
+ end
+end