summaryrefslogtreecommitdiff
path: root/spec/runtime/setup_spec.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-04-23 08:53:39 -0700
committerCarl Lerche <carllerche@mac.com>2010-04-23 08:53:39 -0700
commitc350a990a807c392a78a7cd014a56c57eba4bea1 (patch)
treec5eaee2a35cd85f52973bdf6984eb40d290532ed /spec/runtime/setup_spec.rb
parent8f2099b1f75577888ceed56b7ea9d70ff244006b (diff)
downloadbundler-c350a990a807c392a78a7cd014a56c57eba4bea1.tar.gz
There is no more need to separate SystemGems and BundlerGems
Diffstat (limited to 'spec/runtime/setup_spec.rb')
-rw-r--r--spec/runtime/setup_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index bfe0e93904..e79001a778 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -19,12 +19,13 @@ describe "Bundler.setup" do
end
it "prioritizes gems in BUNDLE_PATH over gems in GEM_HOME" do
+ ENV['BUNDLE_PATH'] = bundled_app('.bundle').to_s
install_gemfile <<-G
source "file://#{gem_repo1}"
gem "rack", "1.0.0"
G
- build_gem "rack", :to_system => true do |s|
+ build_gem "rack", "1.0", :to_system => true do |s|
s.write "lib/rack.rb", "RACK = 'FAIL'"
end