summaryrefslogtreecommitdiff
path: root/lib/bundler/dsl.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-06-23 19:39:49 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-06-23 23:29:09 -0500
commita415012239b05bef85e2cb1dc04606e9ced58360 (patch)
tree2c36ae0f18c64c5a8395abfe4d2f017579da7b24 /lib/bundler/dsl.rb
parent0f336c7d311f2471e7191db05ddc0f9c278829a5 (diff)
downloadbundler-a415012239b05bef85e2cb1dc04606e9ced58360.tar.gz
Fix plugin installation when the plugin depends upon Bundler
Diffstat (limited to 'lib/bundler/dsl.rb')
-rw-r--r--lib/bundler/dsl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb
index 5435512810..b91e4034a7 100644
--- a/lib/bundler/dsl.rb
+++ b/lib/bundler/dsl.rb
@@ -134,7 +134,7 @@ module Bundler
if options.key?("type")
options["type"] = options["type"].to_s
unless Plugin.source?(options["type"])
- raise "No sources available for #{options["type"]}"
+ raise InvalidOption, "No plugin sources available for #{options["type"]}"
end
unless block_given?