hicknhack-software / redmine_hourglass

New Redmine plugin to enhance the time tracking abilities, reports and REST-API.
Other
78 stars 31 forks source link

Redmine 5.0.5 cannot install #161

Open risaer opened 1 year ago

risaer commented 1 year ago

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?

arBmind commented 1 year ago

Just skip the development and test groups. They should not be needed for production use.

johnjeffersoncm commented 1 year ago

same problem here. I did the mentioned procedure, it didn't work in 5.05

Vitexus commented 6 months ago

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
tevino commented 2 weeks ago

Didn't work with Redmine 5.1.3.devel

A conflicting gem 'rack', '>= 3.1.3' was added to Gemfile: https://www.redmine.org/projects/redmine/repository/svn/revisions/22876/diff/trunk/Gemfile