diff options
author | Andre Arko <andre@arko.net> | 2013-03-20 21:21:17 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-03-20 21:21:17 -0700 |
commit | 26307ea7a50328feaa2c87ba935c92710633ab26 (patch) | |
tree | 72b070094395616f64438b260c4fa04aca080058 | |
parent | 602d61200aa4958318fc0588519a31fa0c77df55 (diff) | |
download | bundler-26307ea7a50328feaa2c87ba935c92710633ab26.tar.gz |
path could be nil, doh
-rw-r--r-- | spec/support/path.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb index 17b60b0aec..b1d3c601f2 100644 --- a/spec/support/path.rb +++ b/spec/support/path.rb @@ -33,7 +33,7 @@ module Spec end def vendored_gems(path = nil) - bundled_app("vendor/bundle", Gem.ruby_engine, Gem::ConfigMap[:ruby_version], path) + bundled_app(*["vendor/bundle", Gem.ruby_engine, Gem::ConfigMap[:ruby_version], path].compact) end def cached_gem(path) |