Vote #71883
完了Redmine shouldn't require all database gems
0%
説明
Among sqlite/postgresql and mysql, only one is needed of the three per installation, but ./Gemfile require all of them.
mysql is used in my installation, and I don't want introduce necessary libs, I have to comment those pg/sqlite lines.
I'm not familiar with ruby gems, but I think there is a way to avoid this.
journals
As specified in [[RedmineInstall#Installation-procedure]], you simply have to exclude the unnecessary driver gems when creating your bundle using the @--without <...>@ option.
--------------------------------------------------------------------------------
and now it seems it just installs those listed in your database.yml
--------------------------------------------------------------------------------
Indeed, bundle install will now only install the database gems that are in use in your database.yml.
--------------------------------------------------------------------------------