When I use "heroku db: push" to transfer my local data to the hero, I received this error message:
Sequel :: AdapterNotFound β LoadError: there is no such file to load - sequel / adapters / mysql2
I am already installing mysql2 gem and I am using rvm with ruby ββ1.9.2 on Mac OS X Snow Leopard.
Are you using the latest version of Sequel? Support for mysql2 was not added until 3.15.0.
I can use the original "mysql" gem with rails3 instead of "mysql2" to get around this.
3.15, mysql2. mysql2 db: pull db: push . , mysql. , mysql . 64- macOSX. mysql , : sudo env ARCHFLAGS = "- arch x86_64" gem install mysql - --with-mysql-config =/usr/local/mysql/bin/mysql_config
, .
, , a) b) gemset rvm!
Source: https://habr.com/ru/post/1763838/More articles:ObjectContext constructor injection using Unity / Prism / MVVM - c #Fancy case of a file that exists and does not exist - windowsJavaScript: toString - javascriptRegEx: Uk Landline, Mobile Numbers - regexQt Flowchart Application Architecture - design-patternsEhCache scaling - spring-securityVisual Studio 2010 forgets its own editor - visual-studio-2010Oracle Special Characters - sqlleft join with empty results when no match is found - sqlUsing static finals in Android activity - androidAll Articles