プロジェクト

全般

プロフィール

Vote #71883

完了

Redmine shouldn't require all database gems

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Third-party libraries_47
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
47
version_id:
60
issue_org_id:
10977
author_id:
8874
assigned_to_id:
1
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリThird-party libraries_47 にセット
  • 対象バージョン2.3.0_60 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0