method
build_dependency
v2_6_3 -
Show latest stable
-
0 notes -
Class: EndpointSpecification
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10
- 2_2_9
- 2_4_6
- 2_5_5
- 2_6_3 (0)
- What's this?
build_dependency(name, requirements)
private
Hide source
# File lib/bundler/endpoint_specification.rb, line 130 def build_dependency(name, requirements) Gem::Dependency.new(name, requirements) rescue ArgumentError => e raise unless e.message.include?(ILLFORMED_MESSAGE) puts # we shouldn't print the error message on the "fetching info" status line raise GemspecError, "Unfortunately, the gem #{name} (#{version}) has an invalid " "gemspec.\nPlease ask the gem author to yank the bad version to fix " "this issue. For more information, see http://bit.ly/syck-defaultkey." end