Skip to content

Commit df479f4

Browse files
hsbtmatzbot
authored andcommitted
[ruby/rubygems] Added another usage of pristine command
ref. rubygems/guides#388 ruby/rubygems@43f3768f09
1 parent fb75e99 commit df479f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/rubygems/commands/pristine_command.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ def description # :nodoc:
8888
will revert them. All extensions are rebuilt and all bin stubs for the gem
8989
are regenerated after checking for modifications.
9090
91+
Rebuilding extensions also refreshes C-extension gems against updated system
92+
libraries (for example after OS or package upgrades) to avoid mismatches like
93+
outdated library version warnings.
94+
9195
If the cached gem cannot be found it will be downloaded.
9296
9397
If --no-extensions is provided pristine will not attempt to restore a gem

0 commit comments

Comments
 (0)