summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index eb37dffd9a..4fd9a5179a 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,5 @@
# frozen_string_literal: true
-$:.unshift File.expand_path("../lib", __FILE__)
require "benchmark"
require_relative "spec/support/rubygems_ext"
@@ -123,6 +122,14 @@ task :rubocop do
sh("bin/rubocop --parallel")
end
+desc "Check RVM integration"
+task :check_rvm_integration do
+ # The rubygems-bundler gem is installed by RVM by default and it could easily
+ # break when we change bundler. Make sure that binstubs still run with it
+ # installed.
+ sh("bin/rake install && gem install rubygems-bundler && rake -T")
+end
+
namespace :man do
if RUBY_ENGINE == "jruby"
task(:build) {}