hasen's tech life

Twitter: @hasen

# Reason: Incompatible library version: RMagick2.bundle requires version 7.0.0 or laterというエラーが出たので対応した.

# Reason: Incompatible library version: RMagick2.bundle requires version 7.0.0 or laterというエラーが出たので対応した.

$ ./bin/rake db:migrate
> rake aborted!
> Reason: Incompatible library version: RMagick2.bundle requires version 7.0.0 or later, but libMagickWand-6.Q16.6.dylib provides version 6.0.0 - ...

$ PKG_CONFIG_PATH=/usr/local/opt/imagemagick@6/lib/pkgconfig gem install rmagick -v '2.16.0'

Gem Load Error is: This installation of RMagick was configured with ImageMagick 6.9.9 but ImageMagick 6.9.10-6 is in use.というエラーがでたので対応した.

# Gem Load Error is: This installation of RMagick was configured with ImageMagick 6.9.9 but ImageMagick 6.9.10-6 is in use.というエラーがでたので対応した.

$ ./bin/bundle ....
> Gem Load Error is: This installation of RMagick was configured with ImageMagick 6.9.9 but ImageMagick 6.9.10-6 is in use.

$ brew switch imagemagick@6 6.9.9-34

Error starting host: Error getting state for host: machine does not existとでたので対応した.

# Error starting host: Error getting state for host: machine does not existとでたので対応した.

$ minikube start
> Error starting host: Error getting state for host: machine does not exist
$ minikube delete
$ minikube start

ERROR! The server quit without updating PID fileというエラーが出たので対応した.

# ERROR! The server quit without updating PID fileというエラーが出たので対応した.
# brew upgradeしたことでバージョンが変わっていることが原因だった.

$ mysql.server start
> .. ERROR! The server quit without updating PID file (/usr/local/var/mysql/PC_NAME.pid).

$ brew unlink mysql
$ brew link mysql@TARGET_VER