10 Experience
0 Lessons Completed
0 Questions Solved


Posted in Setup MacOS 11.0 Big Sur Discussion

When choosing mysql as the database, I'm getting the following error:

rails aborted!
LoadError: dlopen(/Library/Ruby/Gems/2.6.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.bundle, 0x0009): dependent dylib 'libssl.1.1.dylib' not found for '/Library/Ruby/Gems/2.6.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.bundle'. relative file paths not allowed 'libssl.1.1.dylib' - /Library/Ruby/Gems/2.6.0/gems/mysql2-0.5.3/lib/mysql2/mysql2.bundle

has anyone been on that situation? I'm using ruby v2.6.3p62, rails v6.1.1 and mysql 8.0.23 I tried creating an app with the default settings (sqlite) and it works, also making a connection to mysql server and it's also working. I'm not sure what's could be missing

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2023 GoRails, LLC. All rights reserved.