aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/bundler/commands/exec_spec.rb2
-rw-r--r--spec/bundler/runtime/gem_tasks_spec.rb6
-rw-r--r--spec/bundler/runtime/with_unbundled_env_spec.rb2
3 files changed, 5 insertions, 5 deletions
diff --git a/spec/bundler/commands/exec_spec.rb b/spec/bundler/commands/exec_spec.rb
index b387419726..1b1839a335 100644
--- a/spec/bundler/commands/exec_spec.rb
+++ b/spec/bundler/commands/exec_spec.rb
@@ -931,7 +931,7 @@ __FILE__: #{path.to_s.inspect}
end
end
- context "with a git gem that includes extensions" do
+ context "with a git gem that includes extensions", :ruby_repo do
before do
build_git "simple_git_binary", &:add_c_extension
bundle! "config set --local path .bundle"
diff --git a/spec/bundler/runtime/gem_tasks_spec.rb b/spec/bundler/runtime/gem_tasks_spec.rb
index a81eaf5468..979f9109b5 100644
--- a/spec/bundler/runtime/gem_tasks_spec.rb
+++ b/spec/bundler/runtime/gem_tasks_spec.rb
@@ -44,7 +44,7 @@ RSpec.describe "require 'bundler/gem_tasks'" do
expect(exitstatus).to eq(0) if exitstatus
end
- it "defines a working `rake install` task" do
+ it "defines a working `rake install` task", :ruby_repo do
with_gem_path_as(base_system_gems.to_s) do
sys_exec "#{rake} install", :env => { "GEM_HOME" => system_gem_path.to_s }
end
@@ -56,7 +56,7 @@ RSpec.describe "require 'bundler/gem_tasks'" do
expect(err).to be_empty
end
- context "rake build when path has spaces" do
+ context "rake build when path has spaces", :ruby_repo do
before do
spaced_bundled_app = tmp.join("bundled app")
FileUtils.cp_r bundled_app, spaced_bundled_app
@@ -73,7 +73,7 @@ RSpec.describe "require 'bundler/gem_tasks'" do
bundle "config set path vendor/bundle"
end
- it "works" do
+ it "works", :ruby_repo do
install_gemfile! <<-G
source "#{file_uri_for(gem_repo1)}"
diff --git a/spec/bundler/runtime/with_unbundled_env_spec.rb b/spec/bundler/runtime/with_unbundled_env_spec.rb
index 4525321010..589f84bb98 100644
--- a/spec/bundler/runtime/with_unbundled_env_spec.rb
+++ b/spec/bundler/runtime/with_unbundled_env_spec.rb
@@ -61,7 +61,7 @@ RSpec.describe "Bundler.with_env helpers" do
EOS
end
- it "removes variables that bundler added" do
+ it "removes variables that bundler added", :ruby_repo do
# Simulate bundler has not yet been loaded
ENV.replace(ENV.to_hash.delete_if {|k, _v| k.start_with?(Bundler::EnvironmentPreserver::BUNDLER_PREFIX) })