How do you undo bundle install --without
Solution 1:
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.
Solution 2:
The updated, correct answer is @caspyin's, here.
My answer is still here for historical purposes:
Bundler settings are stored in a file named
.bundle/config
. You can reset it by removing it, or removing the entire.bundle
directory, like this:rm -rfv .bundle
Or, if you're scared of
rm -rf
(it's OK, many people are):rm .bundle/config rmdir .bundle
Solution 3:
Run
bundle install --without ""
Ref: https://github.com/carlhuda/bundler/blob/master/spec/install/gems/groups_spec.rb#L149-154
it "clears without when passed an empty list" do
bundle :install, :without => "emo"
bundle 'install --without ""'
should_be_installed "activesupport 2.3.5"
end
Solution 4:
bundle install --no-deployment