summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-11-03 19:58:47 -0700
committerAndre Arko <andre@arko.net>2010-11-03 19:58:47 -0700
commit87790797f2abd09fd78148bc9d9cb03135ce7810 (patch)
tree7eff924cb82b893b33ceee807f2d1c902cae595e
parent477b2beb2d2fa55bb826c03614b6bd227bf944b3 (diff)
downloadbundler-87790797f2abd09fd78148bc9d9cb03135ce7810.tar.gz
stop trying to reach local rubygem sources via http
this finally kills the dreaded undefined method '+' for nil:NilClass
-rw-r--r--spec/install/path_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/install/path_spec.rb b/spec/install/path_spec.rb
index c780825e0c..3f2bde8e81 100644
--- a/spec/install/path_spec.rb
+++ b/spec/install/path_spec.rb
@@ -311,12 +311,12 @@ describe "bundle install with explicit source paths" do
end
install_gemfile <<-G
- source "http://#{gem_repo1}"
+ source "file://#{gem_repo1}"
gem "bar", :git => "#{lib_path('bar')}"
G
install_gemfile <<-G
- source "http://#{gem_repo1}"
+ source "file://#{gem_repo1}"
gem "bar", :path => "#{lib_path('bar')}"
G
@@ -330,7 +330,7 @@ describe "bundle install with explicit source paths" do
end
install_gemfile <<-G
- source "http://#{gem_repo1}"
+ source "file://#{gem_repo1}"
gem "bar"
path "#{lib_path('foo')}" do
gem "foo"
@@ -340,7 +340,7 @@ describe "bundle install with explicit source paths" do
build_lib "bar", "1.0", :path => lib_path("foo/bar")
install_gemfile <<-G
- source "http://#{gem_repo1}"
+ source "file://#{gem_repo1}"
path "#{lib_path('foo')}" do
gem "foo"
gem "bar"