summaryrefslogtreecommitdiff
path: root/spec/bundler/runtime
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-07 08:08:56 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-07 08:08:56 +0000
commitc02174354e6e963b0375fb8faf0b6045ec27a43f (patch)
treeef02f7a13b4a0b47fa7622d360178d9c2adaa177 /spec/bundler/runtime
parent15c977803d3e54045ed34d25d56eb11706c0db68 (diff)
Follow up r60970 for bundler's examples.
r60970 break Gemfile.lock format with file protocol after bundle install/update. I addd hostname to these examples. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/bundler/runtime')
-rw-r--r--spec/bundler/runtime/setup_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb
index 8f6f656359..ec2da2be2f 100644
--- a/spec/bundler/runtime/setup_spec.rb
+++ b/spec/bundler/runtime/setup_spec.rb
@@ -1145,7 +1145,7 @@ end
def lock_with(ruby_version = nil)
lock = <<-L
GEM
- remote: file:#{gem_repo1}/
+ remote: file://localhost#{gem_repo1}/
specs:
rack (1.0.0)
@@ -1172,7 +1172,7 @@ end
before do
install_gemfile <<-G
ruby ">= 0"
- source "file:#{gem_repo1}"
+ source "file://localhost#{gem_repo1}"
gem "rack"
G
lockfile lock_with(ruby_version)