PHP 8.2.31
Preview: bundle-pristine.1.ronn Size: 1.46 KB
/proc/thread-self/root/opt/alt/ruby30/share/gems/gems/bundler-2.2.33/lib/bundler/man/bundle-pristine.1.ronn

bundle-pristine(1) -- Restores installed gems to their pristine condition
===========================================================================

## SYNOPSIS

`bundle pristine`

## DESCRIPTION

`pristine` restores the installed gems in the bundle to their pristine condition
using the local gem cache from RubyGems. For git gems, a forced checkout will be performed.

For further explanation, `bundle pristine` ignores unpacked files on disk. In other
words, this command utilizes the local `.gem` cache or the gem's git repository
as if one were installing from scratch.

Note: the Bundler gem cannot be restored to its original state with `pristine`.
One also cannot use `bundle pristine` on gems with a 'path' option in the Gemfile,
because bundler has no original copy it can restore from.

When is it practical to use `bundle pristine`?

It comes in handy when a developer is debugging a gem. `bundle pristine` is a
great way to get rid of experimental changes to a gem that one may not want.

Why use `bundle pristine` over `gem pristine --all`?

Both commands are very similar.
For context: `bundle pristine`, without arguments, cleans all gems from the lockfile.
Meanwhile, `gem pristine --all` cleans all installed gems for that Ruby version.

If a developer forgets which gems in their project they might
have been debugging, the Rubygems `gem pristine [GEMNAME]` command may be inconvenient.
One can avoid waiting for `gem pristine --all`, and instead run `bundle pristine`.

Directory Contents

Dirs: 0 × Files: 50

Name Size Perms Modified Actions
1.46 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
1.22 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
1.58 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
1.38 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
3.19 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
2.87 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
966 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
857 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
604 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
484 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
20.92 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
18.54 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
1.14 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
975 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
6.60 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
5.87 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
5.02 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
4.52 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
449 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
369 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
1.05 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
939 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
738 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
597 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
17.57 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
16.54 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
965 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
788 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
3.12 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
2.97 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
581 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
442 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
3.72 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
3.46 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
1.31 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
1.12 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
1.64 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
1.46 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
849 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
730 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
690 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
596 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
13.56 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
12.47 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
1.08 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
958 B lrw-r--r-- 2024-06-26 13:55:17
Edit Download
3.51 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
3.07 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
21.69 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download
19.76 KB lrw-r--r-- 2024-06-26 13:55:17
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).