1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
David Rodríguez 30b6df4144 [rubygems/rubygems] Improve error messages in gem helpers
Previously they were printing the original command that was run, and
telling the user to rerun it. However, the command sometimes would not
match the exact command that was run (for example, when using the
`--local` flag), and in any case, it's simpler and more useful to print
the underlying error anyways.

5bc0d51b58
2021-10-13 23:30:11 +09:00
..
benchmark [ruby/benchmark] gemspec: Explicitly have 0 executables 2021-04-22 11:51:37 +09:00
bundler [rubygems/rubygems] Improve error messages in gem helpers 2021-10-13 23:30:11 +09:00
cgi [ruby/cgi] Use Time#strftime 2021-09-03 17:50:00 +09:00
csv [ruby/csv] Bump version 2020-12-27 15:26:24 +09:00
delegate
did_you_mean Use String#include? instead of end_with? to avoid message duplication 2021-06-29 15:49:51 +09:00
drb [ruby/drb] 6d890ec5979ec72586dd5f66dd8d33f7a9aefd1e was introduced to support only Ruby 2.7+ 2021-09-28 17:31:23 +09:00
erb [ruby/erb] Version 2.2.3 2021-03-26 12:37:37 +09:00
error_highlight ast.c: Rename "save_script_lines" to "keep_script_lines" 2021-08-20 16:18:36 +09:00
forwardable [ruby/forwardable] gemspec: Explicitly empty the executables list 2021-04-21 20:41:52 +09:00
getoptlong [ruby/getoptlong] gemspec: Drop executables directives 2021-07-28 13:32:32 +09:00
irb [ruby/irb] Ignore parenthesis during completion 2021-10-13 06:33:48 +09:00
logger [ruby/logger] gemspec: Drop unused "executables" configuration 2021-09-15 08:49:23 +09:00
net [ruby/net-http] Enforce write timeout when body_stream is used 2021-07-29 15:53:54 +09:00
observer
optparse [ruby/optparse] Moved rdoc files to doc/optparse 2021-04-11 09:03:36 +09:00
ostruct Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
pstore
racc [ruby/racc] gemspec: Link to https in homepage [ci skip] 2021-09-15 16:55:12 +09:00
rdoc [ruby/rdoc] Update SourceCodePro font files 2021-10-11 21:15:07 +09:00
reline [ruby/reline] Check the result of GetConsoleScreenBufferInfo 2021-10-12 13:19:25 +09:00
rinda Added dependencies for rinda 2020-12-04 20:21:41 +09:00
rubygems [ruby/rubygems] Prefer require_relative for internal requires 2021-10-11 01:12:50 +09:00
set [ruby/set] gemspec: This gem exposes 0 executables 2021-07-29 14:18:33 +09:00
singleton
timeout
unicode_normalize Update lib/unicode_normalize/tables.rb to Unicode version 13.0.0 2021-07-08 14:45:03 +09:00
uri Update to latest uri 2021-07-28 12:26:31 +02:00
weakref Added dependencies for weakref 2020-12-01 19:48:24 +09:00
yaml Workaround with fbb4e3f96c in yaml/store.rb 2021-05-17 12:57:41 +09:00
.document Remove unnecessary files from .document 2020-12-20 16:00:13 +09:00
abbrev.gemspec [ruby/abbrev] gemspec: Explicitly empty executables list 2021-04-21 20:39:04 +09:00
abbrev.rb
base64.gemspec [ruby/base64] gemspec: Use an explicit file list 2021-04-21 20:41:26 +09:00
base64.rb [ruby/base64] Avoid unnecessary string duplication 2021-09-27 15:23:25 +09:00
benchmark.rb [ruby/benchmark] Add comment about terminating newline in captions; fix test method name. 2021-04-22 11:51:37 +09:00
bundler.rb [rubygems/rubygems] Remove syck traces from bundler 2021-08-31 19:06:14 +09:00
cgi.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
csv.rb [ruby/csv] Fix typo [ci skip] 2020-12-27 15:27:46 +09:00
delegate.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
did_you_mean.rb
drb.rb
English.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
English.rb
erb.gemspec [ruby/erb] Clarify supported ruby versions in gemspec 2021-03-26 12:35:52 +09:00
erb.rb [ruby/erb] Document that <% # doesn't work 2021-05-05 23:13:27 -07:00
error_highlight.rb Rename error_squiggle to error_highlight 2021-06-29 23:45:49 +09:00
fileutils.gemspec [ruby/fileutils] Drop support for dead old versions 2021-01-17 12:20:55 +09:00
fileutils.rb [ruby/fileutils] Removed code for dead versions 2021-01-17 12:20:57 +09:00
find.gemspec
find.rb [ruby/find] Add Errno::EINVAL to list of ignored errors 2021-07-27 21:20:31 +09:00
forwardable.rb Prefer qualified names under Thread 2021-06-29 11:41:10 +09:00
getoptlong.rb [ruby/getoptlong] RDoc: escape to avoid links to the word Set 2021-07-28 13:32:33 +09:00
ipaddr.gemspec [ruby/ipaddr] fixup 90b46678a5b09ed32612b0629b7c51c6d39a0444 2020-12-03 17:48:32 +09:00
ipaddr.rb [ruby/ipaddr] Fix include? and ipv4_mapped to allow drb tests to pass 2021-10-11 13:50:54 +09:00
irb.rb [ruby/irb] Update descriptions of methods 2021-10-07 23:55:54 +09:00
logger.rb [ruby/logger] Replace "iff" with "if and only if" 2021-04-20 21:19:41 +09:00
mkmf.rb Revert "mkmf.rb: try linking at try_var" [Bug #18235] 2021-10-03 18:23:39 +09:00
mutex_m.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
mutex_m.rb Prefer qualified names under Thread 2021-06-29 11:41:10 +09:00
observer.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
open-uri.gemspec Added dependencies for open-uri 2020-12-01 19:48:24 +09:00
open-uri.rb Guard for the ftp protocol feature of OpenURI 2021-05-27 14:42:11 +09:00
open3.gemspec
open3.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
optionparser.rb
optparse.rb [ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/23) 2021-07-28 20:13:39 +09:00
ostruct.rb [ruby/ostruct] Strip trailing spaces 2021-09-28 20:01:35 +09:00
pp.gemspec [ruby/pp] Bump version to 0.2.0 2021-04-21 20:45:23 +09:00
pp.rb [ruby/pp] Support < Ruby 3.0 2021-04-21 20:44:55 +09:00
prettyprint.gemspec Promote prettyprint to default gems 2020-10-08 16:40:46 +09:00
prettyprint.rb
pstore.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
racc.rb
rdoc.rb
readline.gemspec Update the latest version of readline.gemspec 2021-07-29 16:20:10 +09:00
readline.rb
reline.rb [ruby/reline] Suppress warning, "instance variable @ambiguous_width not initialized" 2021-10-11 16:24:45 +09:00
resolv-replace.gemspec [ruby/resolv-replace] gemspec: Drop executables directive 2021-07-28 13:32:33 +09:00
resolv-replace.rb
resolv.gemspec [ruby/resolv] Bump version to 0.2.1 2021-07-28 13:32:33 +09:00
resolv.rb [ruby/resolv] Fix confusion of received response message 2021-05-11 12:37:34 +09:00
ruby2_keywords.gemspec Adjust the release version of ruby2_keywords 2021-07-16 13:50:15 +09:00
rubygems.rb [rubygems/rubygems] Prefer require_relative to require for internal requires 2021-08-31 19:06:14 +09:00
securerandom.gemspec
securerandom.rb [ruby/securerandom] [DOC] fix a code mark up [ci skip] 2021-08-24 19:29:54 +09:00
set.rb [ruby/set] Make Set#pretty_print IRB::ColorPrinter friendly 2021-09-28 17:37:41 +09:00
shellwords.gemspec
shellwords.rb
singleton.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
tempfile.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
tempfile.rb Small grammar fixes 2021-09-01 09:15:57 +09:00
time.gemspec Added dependencies for time 2020-12-01 19:48:24 +09:00
time.rb Revert "disable shareable_constant_value for CI" 2021-04-26 22:46:51 +09:00
timeout.rb [ruby/timeout] Freeze VERSION 2021-09-27 19:36:20 +09:00
tmpdir.gemspec [ruby/tmpdir] Bump version to 0.1.2 2021-04-05 21:08:58 +09:00
tmpdir.rb [ruby/tmpdir] Make usable chars more strict 2021-04-05 21:08:57 +09:00
tsort.gemspec
tsort.rb
un.gemspec [ruby/un] Bump version to 0.2.0 2021-09-28 17:36:41 +09:00
un.rb [ruby/un] Use STDIN if no arguments 2021-08-24 18:02:44 +09:00
uri.rb Fix test failure for parallel testing 2021-07-27 17:34:13 +09:00
weakref.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
yaml.rb