summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2011-09-01 17:47:48 -0700
committerAndre Arko <andre@arko.net>2011-09-01 17:47:48 -0700
commitb2d6caf2ccc79a4996db9aedd617ae42be6b3632 (patch)
treeaaaddb771562f2c3e514dd10d24918b53f6fa790 /spec
parent9868a04bbcc0464b009ddf13c835dd58ced7ec47 (diff)
downloadbundler-b2d6caf2ccc79a4996db9aedd617ae42be6b3632.tar.gz
Fix exec when command contains 'exec'
Diffstat (limited to 'spec')
-rw-r--r--spec/other/exec_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/other/exec_spec.rb b/spec/other/exec_spec.rb
index 94e6408f2b..befd61e59c 100644
--- a/spec/other/exec_spec.rb
+++ b/spec/other/exec_spec.rb
@@ -33,6 +33,12 @@ describe "bundle exec" do
out.should == "1.0.0"
end
+ it "works when exec'ing something else" do
+ install_gemfile 'gem "rack"'
+ bundle "exec echo exec"
+ out.should == "exec"
+ end
+
it "handles different versions in different bundles" do
build_repo2 do
build_gem "rack_two", "1.0.0" do |s|