Answers for "ruby script `require': cannot load such file -- mysql2 (LoadError)"

SQL
0

LoadError: cannot load such file -- mysql2/2.7/mysql2

rm Gemfile.lock
gem uninstall mysql2
gem install mysql2 -v '0.5.2' -- --with-mysql-config=/usr/local/Cellar/[email protected]/5.7.25/bin/mysql_config --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include --platform=ruby
bundle install
Posted by: Guest on September-19-2020

Code answers related to "ruby script `require': cannot load such file -- mysql2 (LoadError)"

Code answers related to "SQL"

Browse Popular Code Answers by Language