diff options
author | Homu <homu@barosl.com> | 2016-09-07 06:13:25 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2016-09-07 06:13:25 +0900 |
commit | 4818f415d07e547533f48d3f6c59dfda2b73c3fd (patch) | |
tree | cba1dab5508e559c2dcd10295b97242d482367c9 | |
parent | 4cf318d1518f8c468c367a054e17b341d50694e8 (diff) | |
parent | 125c502733467f10599afc1b9818333947866b81 (diff) | |
download | bundler-4818f415d07e547533f48d3f6c59dfda2b73c3fd.tar.gz |
Auto merge of #4943 - bundler:seg-unknown-keys, r=indirect
[DSL] Suggest updating bundler on invalid options
See https://github.com/bundler/bundler/issues/4856 & https://github.com/bundler/bundler/pull/4918
-rw-r--r-- | lib/bundler/dsl.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb index b064c80d4c..428ccd4c2d 100644 --- a/lib/bundler/dsl.rb +++ b/lib/bundler/dsl.rb @@ -393,7 +393,8 @@ module Bundler "as an option for #{command}, but it is invalid." end - message << " Valid options are: #{valid_keys.join(", ")}" + message << " Valid options are: #{valid_keys.join(", ")}." + message << " You may be able to resolve this by upgrading Bundler to the newest version." raise InvalidOption, message end end |