Need help with installing mysql2 gem in rails application running on windows 11

This page summarizes the projects mentioned and recommended in the original post on /r/ruby

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • activerecord-trilogy-adapter

    Active Record adapter for the Trilogy database client for Rails v6.0 - v7.0. (by trilogy-libraries)

  • And if you want to stick with Rails 7.0, there is still an option -- the back-ported driver is getting pretty close for prime time. In order to try it out, put this in your Gemfile:

  • activerecord-trilogy-adapter

    Active Record adapter for the Trilogy database client (by lorint)

  • gem 'trilogy' gem 'activerecord-trilogy-adapter', git: 'https://github.com/lorint/activerecord-trilogy-adapter.git', branch: 'support_rails_7'

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • mysql2

    A modern, simple and very fast Mysql library for Ruby - binding to libmysql

  • Thanks for your suggestion. AFAIR, i tried installing the gem 'activerecord-trilogy-adapter' but without the git path . Currently, I have successfully installed mysql2 on Windows by following the steps outlined in the following GitHub issue: https://github.com/brianmario/mysql2/issues/1151.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts