diff options
| author | Carl Lerche <carllerche@mac.com> | 2010-08-10 20:43:37 -0700 |
|---|---|---|
| committer | Carl Lerche <carllerche@mac.com> | 2010-08-10 20:43:37 -0700 |
| commit | 2bbe76851b73ebdb5fcdc4d2795d183f655e11ed (patch) | |
| tree | de8c34f9cb877d7d1e30b2f7a37d11b2920b918a /spec/install/deploy_spec.rb | |
| parent | 6cc134ca437c0c92df240c1a5fb4ee65973a0a30 (diff) | |
| download | bundler-2bbe76851b73ebdb5fcdc4d2795d183f655e11ed.tar.gz | |
Fix a bug where --gemfile and --deployment did not work together
Diffstat (limited to 'spec/install/deploy_spec.rb')
| -rw-r--r-- | spec/install/deploy_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/install/deploy_spec.rb b/spec/install/deploy_spec.rb index 1d03c91aca..6ad43b7e70 100644 --- a/spec/install/deploy_spec.rb +++ b/spec/install/deploy_spec.rb @@ -18,6 +18,15 @@ describe "install with --deployment or --frozen" do out.should include("The --frozen flag requires a Gemfile.lock") end + it "still works if you are not in the app directory and specify --gemfile" do + bundle "install" + Dir.chdir tmp + simulate_new_machine + bundle "install --gemfile #{tmp}/bundled_app/Gemfile --deployment" + Dir.chdir bundled_app + should_be_installed "rack 1.0" + end + describe "with an existing lockfile" do before do bundle "install" |
