Permalink
Browse files

Don't mention vendor/cache if it doesn't exist

  • Loading branch information...
1 parent 4af4ec8 commit 31a1fb936c9c8941476dece60d726a2e8a7fa78c @indirect indirect committed Apr 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/cli.rb
View
@@ -241,7 +241,7 @@ def install(path = nil)
"Please use `bundle install --path #{path}` instead."
end
rescue GemNotFound => e
- if opts[:local]
+ if opts[:local] && Bundler.app_cache.exist?
Bundler.ui.warn "Some gems seem to be missing from your vendor/cache directory."
end

0 comments on commit 31a1fb9

Please sign in to comment.