Suggest a runnable gem pristine command
authorShannon Skipper <shannonskipper@gmail.com>
Mon, 20 Oct 2014 21:57:05 +0000 (14:57 -0700)
committerEric Hodel <drbrain@segment7.net>
Sun, 30 Nov 2014 04:30:39 +0000 (20:30 -0800)
commit06ec9db8bbf31ed2c16b81ffb3a77ae8e6ce95a2
tree05a4ae61aaf5f9c7fc071a06baee5fe233117123
parentf62e801d6bb3bf1a6a9ece69ed6e339c457d0720
Suggest a runnable gem pristine command

When warning about missing extensions, suggest a `gem pristine` command that is ready to be run. For example, the missing extensions warning for puma v2.9.1 was `Try: gem pristine puma-2.9.1`, which failed. This changes the suggestion to `Try: gem pristine puma --version 2.9.1`, which succeeds.
lib/rubygems/basic_specification.rb
test/rubygems/test_gem.rb
test/rubygems/test_gem_specification.rb
test/rubygems/test_gem_stub_specification.rb