> # rpm -Uvh tfm-rubygem-mysql2-0.3.19-3.el7.x86_64.rpm
> Preparing… #################################
> [100%]
> file /usr/share/gems/gems/mysql2-0.3.19/ext/mysql2/Makefile from
> install of
> tfm-rubygem-mysql2-0.3.19-3.el7.x86_64.rpm-0.3.19-2.el7.centos.x86_64
> conflicts with file from package rubygem-mysql2-0.3.19-2.el7.centos.x86_64
> file /usr/share/gems/gems/mysql2-0.3.19/lib/mysql2/mysql2.so from
> install of
> tfm-rubygem-mysql2-0.3.19-3.el7.x86_64.rpm-0.3.19-2.el7.centos.x86_64
> conflicts with file from package rubygem-mysql2-0.3.19-2.el7.centos.x86_64
> #
>
Ignore this part - that was my mistake as I thought that rubygem-mysql2 was
required by foreman, but in fact was installed by someone else by mistake.
However, even after a clean-up and keeping/reinstalling tfm-rubygem-mysql2
package rebuilt with Percona libraries, I'm still not able to start the app:
Gem loading error: cannot load such file – mysql2 (RuntimeError)
What else am I missing here?