Defect #10977
closed
Redmine shouldn't require all database gems
Added by George Xie almost 14 years ago.
Updated about 13 years ago.
Category:
Third-party libraries
Description
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.
- Status changed from New to Closed
- Resolution set to Invalid
As specified in RedmineInstall, 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
- Subject changed from Shouldn't require all three kinds db driver to Redmine shouldn't require all database gems
- Category set to Third-party libraries
- Assignee set to Jean-Philippe Lang
- Target version set to 2.3.0
- Resolution changed from Invalid to Fixed
Indeed, bundle install will now only install the database gems that are in use in your database.yml.
Also available in: Atom
PDF