WindowsへのRedmineインストール時rmagickの除外ができない

162 views
Skip to first unread message

nori

unread,
Jun 15, 2020, 9:01:34 PM6/15/20
to Redmine Users (japanese)
はじめまして。

RedmineをWindowsにインストールしようとしているのですが、
インストール時にエラーが出てしまい、原因がわかりません。
もし解決方法をご存じの方がいれば、ご教示いただけますでしょうか。

◇環境
OS : Windows 10
Ruby : 2.4.10
Ruby on rails: 4.2.11.1
Redmine : 3.4.13

◇エラー時の状況
インストール対象の環境がオフラインのため、
オンライン環境で必要なgemファイルをダウンロードし、Redmineのzip解凍後のvendor/cache下に配置しました。

rmagickはいらなかったので、以下のように除外してインストールを実行しました
> bundle install --without development test rmagick --path vendor/bundle --local

しかし、実行後に以下の通り「rmagickのgemがない」と怒られてしまいました。
-------------------------------------------------------------------------------------------------
Some gems seem to be missing from your vendor/cache directory.
Could not find gem 'rmagick (~> 2.16.0) x64-mingw32' in any of the gem sources
listed in your Gemfile or in gems cached in vendor/cache.
-------------------------------------------------------------------------------------------------

除外しているはずなのにインストールしようとしているのはなぜなのか、
またこの解決策を教えていただきたいです。

よろしくお願いいたします。
Reply all
Reply to author
Forward
0 new messages