プロジェクト

全般

プロフィール

Vote #74605

完了

bundle install --without development test fails

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

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

0%

予定工数:
category_id:
44
version_id:
75
issue_org_id:
15377
author_id:
90062
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
70
ステータス-->[Closed]

説明

When installing per the instructions at

http://www.redmine.org/projects/redmine/wiki/RedmineInstall

bundler completes without incident. However, I am unable to rake generate_secret_token (the next step)

I get the message:

redmine@shawshank ~/redmine-2.4.0 $ rake generate_secret_token
Could not find gem 'database_cleaner (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.

This is because database_cleaner is part of the test section.

Solution: move database_cleaner out of test and into main

Workaround: bundle install --without development # maybe, trying this now.


journals

<pre>
redmine@shawshank ~/redmine-2.4.0 $ ruby -v
ruby 1.9.3p194 (2012-04-20 revision 35410) [arm-linux-eabihf]
redmine@shawshank ~/redmine-2.4.0 $ rails -v
Could not find gem 'rmagick (>= 2.0.0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
</pre>

Currently stepping through the remaining missing requirements.

--------------------------------------------------------------------------------
Please head over to the forum#2 forum and post your support request there instead of posting it here as a defect in the tracker.
--------------------------------------------------------------------------------
It's not a support request (stepping through the rest of the requirements lead to no surprises). The fact of the matter is, the documented installation procedure is incorrect. I'm doing fine, but `bundle install --without development test` leads to a broken installation that needs to be repaired. Not exactly a rewarding OOB experience.

Not to worry, I can provide patches (just not at this moment). I suspect just moving database_cleaner to the main bundler set will do the trick, or, instructing users to install the rails gem first (iirc, Rails also provides database_cleaner).

--------------------------------------------------------------------------------
@rake generate_secret_token@ runs just fine for me when using @bundle install --without development test@. I'll remove this dependency anyway as it's no longer needed.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

duplicates,Closed,15797,Could not find gem 'database_cleaner (>= 0) x86-mingw32' in the gems available on this machine.

Admin Redmine さんが4年以上前に更新

  • カテゴリRails support_44 にセット
  • 対象バージョン2.5.0_75 にセット

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

いいね!0
いいね!0