You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.
Gem::LoadError: Specified 'mysql2' for database adapter, but the gem is not loaded. Add gem 'mysql2' to your Gemfile (and ensure its version is at the minimum required by ActiveRecord).
Can you please give more precise instruction on how to proceed from there?
It would be far easier if you can prepare a docker image as rails app is one of the hardest to set up and just expose a unix socket or a http port which can be reversed proxied by nginx/apache easily.
The text was updated successfully, but these errors were encountered:
The steps you need are more like the basic steps to install any Rails app. It's almost impossible for us to cover all possible distributions and their required dependencies.
For your current problem: You're missing libmysqlclient-dev for the mysql2 gem.
OK. Thanks. Giving instructions on latest LTS for Ubuntu/Debian and Redhat/CentOS doesn't look too hard but that's where docker comes in. Deploy and run, can't be easier when I used to install Discourse (another rails app.)
I'm running Ubuntu 16.04 but it would be more helpful, if required packages were listed for latest LTS.
The packages I had to install before the bundle command were,
This works up to the point of,
where I get hit by,
Can you please give more precise instruction on how to proceed from there?
It's probably something to do with this.
https://stackoverflow.com/questions/32470853/gem-mysql2-gem-is-not-loaded
It would be far easier if you can prepare a docker image as rails app is one of the hardest to set up and just expose a unix socket or a http port which can be reversed proxied by nginx/apache easily.
The text was updated successfully, but these errors were encountered: