Open gajet5 opened 6 months ago
This solution: https://github.com/brianmario/mysql2/issues/1210#issuecomment-965862944 does not work, it leads to an error: Incorrect MySQL client library version! This gem was compiled for 10.8.8 but the client library is 3.3.8.
Have you solved this problem? I also encountered the same problem
No, I haven't found a solution. I'm currently dealing with another problem, but this one is still hanging on me. I'm thinking of installing ubuntu and trying to deploy it.
I have the same issue on Ubuntu ! Please see at #1369
Any update ?
I have the same issue on Ubuntu ! Please see at #1369
Any update ?
Windows, not ubuntu.
Indeed but the problem is similar ...
By the way, as you can see, I've solved it by modifying the Gemfile to specify the gem mysql2 version, which worked
I have the same problem in windows 10: After the error for bundle install
Run: bundle exec rake generate_secret_token
c:\redmine-5.1.3>bundle exec rake generate_secret_token
rake aborted!
Bundler::GemRequireError: There was an error while trying to load the gem 'mysql2'.
Gem Load Error is: Incorrect MySQL client library version! This gem was compiled for 10.8.8 but the client library is 3.3.8.
Backtrace for gem load error is:
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in require' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in
block in require'
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:299:in load_dependency' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/activesupport-6.1.7.8/lib/active_support/dependencies.rb:332:in
require'
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mysql2-0.5.6/lib/mysql2.rb:36:in <top (required)>' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.5.15/lib/bundler/runtime.rb:60:in
require'
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.5.15/lib/bundler/runtime.rb:60:in block (2 levels) in require' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.5.15/lib/bundler/runtime.rb:55:in
each'
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.5.15/lib/bundler/runtime.rb:55:in block in require' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.5.15/lib/bundler/runtime.rb:44:in
each'
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.5.15/lib/bundler/runtime.rb:44:in require' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/bundler-2.5.15/lib/bundler.rb:212:in
require'
c:/redmine-5.1.3/config/application.rb:18:in <top (required)>' c:/redmine-5.1.3/Rakefile:5:in
require'
c:/redmine-5.1.3/Rakefile:5:in <top (required)>' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/lib/rake/rake_module.rb:29:in
load'
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/lib/rake/rake_module.rb:29:in load_rakefile' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/lib/rake/application.rb:740:in
raw_load_rakefile'
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/lib/rake/application.rb:126:in block in load_rakefile' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/lib/rake/application.rb:214:in
standard_exception_handling'
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/lib/rake/application.rb:125:in load_rakefile' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/lib/rake/application.rb:82:in
block in run'
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/lib/rake/application.rb:214:in standard_exception_handling' C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/lib/rake/application.rb:80:in
run'
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/rake-13.2.1/exe/rake:27:in <top (required)>' C:/Ruby31-x64/bin/rake:33:in
load'
C:/Ruby31-x64/bin/rake:33:in <main>' Bundler Error Backtrace: c:/redmine-5.1.3/config/application.rb:18:in
<top (required)>'
c:/redmine-5.1.3/Rakefile:5:in require' c:/redmine-5.1.3/Rakefile:5:in
<top (required)>'
Caused by:
Incorrect MySQL client library version! This gem was compiled for 10.8.8 but the client library is 3.3.8.
c:/redmine-5.1.3/config/application.rb:18:in <top (required)>' c:/redmine-5.1.3/Rakefile:5:in
require'
c:/redmine-5.1.3/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
In to C:/Ruby32-x64/lib/ruby/gems/3.2.0/extensions/x64-mingw-ucrt/3.2.0/mysql2-0.5.6/mkmf.log