summaryrefslogtreecommitdiff
path: root/spec/bundler/install/allow_offline_install_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/install/allow_offline_install_spec.rb')
-rw-r--r--spec/bundler/install/allow_offline_install_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/bundler/install/allow_offline_install_spec.rb b/spec/bundler/install/allow_offline_install_spec.rb
index 8af88b7efe..7813a3426d 100644
--- a/spec/bundler/install/allow_offline_install_spec.rb
+++ b/spec/bundler/install/allow_offline_install_spec.rb
@@ -26,7 +26,7 @@ RSpec.describe "bundle install with :allow_offline_install" do
context "with cached data locally" do
it "will install from the compact index" do
- system_gems ["rack-1.0.0"], :path => :bundle_path
+ system_gems ["rack-1.0.0"], :path => default_bundle_path
bundle! "config set clean false"
install_gemfile! <<-G, :artifice => "compact_index"
@@ -70,6 +70,8 @@ RSpec.describe "bundle install with :allow_offline_install" do
end
it "will install from a cached git repo" do
+ skip "doesn't print errors" if Gem.win_platform?
+
git = build_git "a", "1.0.0", :path => lib_path("a")
update_git("a", :path => git.path, :branch => "new_branch")
install_gemfile! <<-G