bitnami redmine 4.2.0でredmine_dmsfプラグインがインストールできない

604 views
Skip to first unread message

y.y

unread,
Apr 3, 2021, 6:29:09 PM4/3/21
to Redmine Users (japanese)
bitnami redmine 4.2.0に、redmine_dmsfプラグインを
インストールすると以下のエラーが発生します。
dmsfの動作環境は4.0.0以降となっていますが、対応を
待つしかないのでしょうか。

4.1.1では使用できていました。


■bundle install実行エラー
[!] There was an error parsing `Gemfile`:
[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice
with different version requirements.
You specified: rubyzip (~> 2.3.0) and rubyzip (>= 1.1.3). Bundler cannot continu
e.

 #  from D:/Bitnami/redmine/apps/redmine/htdocs/plugins/redmine_dmsf/Gemfile:32
 #  -------------------------------------------
 #    gem 'rails-controller-testing'
 >  end #  # encoding: utf-8
 #  -------------------------------------------
. Bundler cannot continue.

 #  from D:/Bitnami/redmine/apps/redmine/htdocs/Gemfile:110
 #  -------------------------------------------
 #    eval_gemfile file
 >  end
 #  source 'https://rubygems.org'
 #  -------------------------------------------

前田剛

unread,
Apr 3, 2021, 9:25:17 PM4/3/21
to redmine-...@googlegroups.com
On Sun, Apr 4, 2021 at 7:29 AM y.y <yah...@mitene.or.jp> wrote:
> ■bundle install実行エラー
> [!] There was an error parsing `Gemfile`:
> [!] There was an error parsing `Gemfile`: You cannot specify the same gem twice
> with different version requirements.
> You specified: rubyzip (~> 2.3.0) and rubyzip (>= 1.1.3). Bundler cannot continu
> e.

D:/Bitnami/redmine/apps/redmine/htdocs/Gemfile を開いて、110行目の

gem 'rubyzip', '~> 2.3.0'

からバージョン指定を外して

gem 'rubyzip'

と変更してから再度試してみてください。


Index: Gemfile
===================================================================
--- Gemfile (リビジョン 20908)
+++ Gemfile (作業コピー)
@@ -16,7 +16,7 @@
gem 'i18n', '~> 1.8.2'
gem "rbpdf", "~> 1.20.0"
gem 'addressable'
-gem 'rubyzip', '~> 2.3.0'
+gem 'rubyzip'

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]

Y Yoshihiro

unread,
Apr 7, 2021, 11:25:05 AM4/7/21
to Redmine Users (japanese)
コメントありがとうございます。

D:/Bitnami/redmine/apps/redmine/htdocs/plugins/redmine_dmsf/Gemfile
D:/Bitnami/redmine/apps/redmine/htdocs/Gemfile
のファイルを修正しました。

 gem 'rubyzip', '~> 2.3.0'
   ↓
 gem 'rubyzip'


修正後は以下コマンドを実行し、
dmsfが動作することを確認しました。

bundle install
bundle exec rake redmine:plugins:migrate NAME=redmine_dmsf RAILS_ENV=production
再起動

2021年4月4日日曜日 10:25:17 UTC+9 前田 剛:
Reply all
Reply to author
Forward
0 new messages