1BUNDLE-REMOVE(1) BUNDLE-REMOVE(1)
2
3
4
6 bundle-remove - Removes gems from the Gemfile
7
9 bundle remove [GEM [GEM ...]] [--install]
10
12 Removes the given gems from the Gemfile while ensuring that the result‐
13 ing Gemfile is still valid. If a gem cannot be removed, a warning is
14 printed. If a gem is already absent from the Gemfile, and error is
15 raised.
16
18 --install
19 Runs bundle install after the given gems have been removed from
20 the Gemfile, which ensures that both the lockfile and the in‐
21 stalled gems on disk are also updated to remove the given
22 gem(s).
23
24 Example:
25
26 bundle remove rails
27
28 bundle remove rails rack
29
30 bundle remove rails rack --install
31
32
33
34 February 2023 BUNDLE-REMOVE(1)