Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you undo bundle install --without

How do you undo running

bundle install --without development 

Right now, I have gems in the development group that are being ignored because I ran this once... (note that I have tried deleting gemfile.lock to no avail)

like image 263
Jonathan Leung Avatar asked Mar 19 '12 04:03

Jonathan Leung


People also ask

How do I undo a bundle update?

Undoing a bundle in Microsoft Word will remove the necessary bundle formatting, allowing you to change and then recreate your bundle. To undo a bundle, simply click the 'Create/Undo Bundle' button to launch the Bundle-Maker.

What happens when you run bundle install?

When you make a change to the Gemfile(5) and then run bundle install , Bundler will update only the gems that you modified. In other words, if a gem that you did not modify worked before you called bundle install , it will continue to use the exact same versions of all dependencies as it used before the update.

What is bundle install without production?

Now, If I use following command: bundle install --without production. In above command, the --without production option prevents the local installation of any production gem means whatever gems are in the production group will not be installed -- which in our example is just one gem: pg .


1 Answers

List configs

bundle config

Delete value from config

bundle config --delete without

Add value to config

bundle config --local without development

Or you can manually edit the values in .bundle/config file.

like image 116
BeeZee Avatar answered Sep 27 '22 02:09

BeeZee