Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redmine 5.0.5 cannot install #161

Open
risaer opened this issue Apr 6, 2023 · 3 comments
Open

Redmine 5.0.5 cannot install #161

risaer opened this issue Apr 6, 2023 · 3 comments
Labels
bug Undesired behavior that should be fixed. help wanted Pull requests are appreciated. :+1:

Comments

@risaer
Copy link

risaer commented Apr 6, 2023

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
Copy link
Member

arBmind commented Apr 6, 2023

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

@arBmind arBmind added bug Undesired behavior that should be fixed. help wanted Pull requests are appreciated. :+1: labels Apr 6, 2023
@johnjeffersoncm
Copy link

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

@Vitexus
Copy link

Vitexus commented Apr 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Undesired behavior that should be fixed. help wanted Pull requests are appreciated. :+1:
Projects
None yet
Development

No branches or pull requests

4 participants