You can clone with
I'm working on a project that can use sqlite, mysql, or postgres. I initially installed on sqlite, doing "bundle install --without mysql postgres". Then I switched to postgres, and "bundle install --without mysql". Now I need to do some testing with mysql, but doing a plain "bundle install" remembers the previous --without, and "bundle install --without ''" (without nothing) gives an error. My first workaround was to do "bundle install --without sqlite", but that's not right because sqlite is still needed for things besides the main db. I finally figured out that I could delete .bundle/config, but that was non-obvious. Either "bundle install --without ''" should work, or something like "bundle install --with mysql" should be added to override the cached without.
This costed me an hour to figure out. Would be nice to get this fixed :-)
Why is --without env1 env2 ... cached anyway ?
E.g. gem install --no-rdoc is just doing no rdoc for that one time,
but is not caching that behavior to the config file without warning the user
E.g. rvm use ruby-1.9.2@gemspec is doing it for one time, unless --default
is given, but not caching that behavior without warning
Also capistrano always calls with --without development test by default,
repeating that every time.
I suggest to simply not cache the --without behavior when supplied as
a command line argument.
Allow clearing --without groups