Actions
Defect #10977
closedRedmine shouldn't require all database gems
Status:
Closed
Priority:
Normal
Assignee:
Category:
Third-party libraries
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
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.
Updated by Etienne Massip over 12 years ago
- 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.
Updated by Daniel Black over 11 years ago
and now it seems it just installs those listed in your database.yml
Updated by Jean-Philippe Lang over 11 years ago
- 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.
Actions