redmine_hourglass
redmine_hourglass copied to clipboard
Redmine 5.0.5 cannot install
on bundle install
I get this error:
[!] 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: rspec-rails (>= 0) and rspec-rails (~> 5.1.2). Bundler cannot continue.
# from /usr/src/redmine/plugins/redmine_hourglass/Gemfile:26
# -------------------------------------------
# group :development, :test do
> gem 'rspec-rails', '~> 5.1.2'
# gem 'factory_bot_rails'
# -------------------------------------------
. Bundler cannot continue.
# from /usr/src/redmine/Gemfile:123
# -------------------------------------------
# Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
> eval_gemfile file
# end
# -------------------------------------------
Redmine version 5.0.5.stable (docker)
Ruby version 3.1.3-p185 (2022-11-24) [x86_64-linux]
Rails version 6.1.7.2
Environment production
Database adapter Mysql2
Is there anything that can be done?
Just skip the development and test groups. They should not be needed for production use.
same problem here. I did the mentioned procedure, it didn't work in 5.05
Work for me on debian 12:
Environment:
Redmine version 5.1.2.stable
Ruby version 3.1.2-p20 (2022-04-12) [x86_64-linux-gnu]
Rails version 6.1.7.7
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Magneticmine2 (includes JavaScript)
SCM:
Subversion 1.14.2
Git 2.39.2
Filesystem
Redmine plugins:
redmine_hourglass 1.3.0-dev