diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-09-02 12:20:40 -0400 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-09-02 12:20:40 -0400 |
commit | 125c502733467f10599afc1b9818333947866b81 (patch) | |
tree | 63f464dc26316b40d402f20d2deb02bc8bb96f7c | |
parent | 1e37ee4d7197412c6267641ed70455d6950a9ce0 (diff) | |
download | bundler-125c502733467f10599afc1b9818333947866b81.tar.gz |
[DSL] Suggest updating bundler on invalid optionsseg-unknown-keys
-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 |