1

I've seen suggestions like this that say you can make your open source rails app database agnostic by putting groups in your gemfile and specifying --without when running bundle install.

However, that would not keep the original database out of gemfile.lock, which you are supposed to check in to your repo, so wouldn't it still be a problem for anyone who used a different database?

Is there any way to not specify the database in gemfile.lock?

4

0 回答 0