summaryrefslogtreecommitdiff
path: root/task/bundler_3.rake
diff options
context:
space:
mode:
Diffstat (limited to 'task/bundler_3.rake')
-rw-r--r--task/bundler_3.rake10
1 files changed, 10 insertions, 0 deletions
diff --git a/task/bundler_3.rake b/task/bundler_3.rake
new file mode 100644
index 0000000000..f40837017c
--- /dev/null
+++ b/task/bundler_3.rake
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+namespace :bundler_3 do
+ task :install do
+ ENV["BUNDLER_SPEC_SUB_VERSION"] = "3.0.0.dev"
+ Rake::Task["override_version"].invoke
+ Rake::Task["install"].invoke
+ sh("git", "checkout", "--", "lib/bundler/version.rb")
+ end
+end