Passing ‘unlink’ command to redis as is; blind passthrough has been deprecated and will be removed in redis-namespace 2.0 IT by NHM - 2021-02-082021-02-08 initializers/sidekiq.rbにnamespaceパラメータを追加すると発生した。 下記では発生しない。 Sidekiq.configure_server do |config| config.redis = { url: 'redis://localhost:16379'} end Sidekiq.configure_client do |config| config.redis = { url: 'redis://localhost:16379'} end
Macにbundle updateでmysql2がインストールできない IT by NHM - 2021-02-082021-02-08 下記のようなエラーが出る。sslライブラリが見つからないらしい ld: library not found for -lssl clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [mysql2.bundle] Error 1 make failed, exit code 2 opensslを利用するように指定 bundle config --global build.mysql2 --with-opt-dir="$(brew --prefix openssl)"
Mac OS BigSurにアップデートしたらDocker DeskTopが起動しなくなった。 IT by NHM - 2021-01-282021-02-17 Dockのアイコンをクリックしても起動しない。 画面にエラー表示しないから何もわからない。 困った時の神頼みということでsystem.logを見てみる。 view /var/log/system.log なんかよくわからないエラーが発生している。 Jan 28 09:52:17 mac Docker Desktop Helper (GPU)[2536]: getattrlist failed for /System/Library/Extensions/AppleIntelHD5000GraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHD5000GraphicsGLDriver: #2: No such file or directory Jan 28 09:52:17 mac Docker Desktop Helper (GPU)[2536]: getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory Jan 28 09:52:17 mac com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0E000000-0600-0000-0000-000000000000[2271]): Service exited due to SIGKILL | sent by mds[101] Jan 28 09:52:17 mac VTDecoderXPCService[2538]: DEPRECATED USE in libdispatch client: Changing the target of a source after it has been activated; set a breakpoint on _dispatch_bug_deprecated to debug Jan 28 09:52:17 mac VTDecoderXPCService[2538]: DEPRECATED USE in libdispatch client: Changing target queue hierarchy after xpc connection was activated; set a breakpoint on _dispatch_bug_deprecated to debug Jan 28 09:52:17 mac VTDecoderXPCService[2538]: getattrlist failed for /Library/GPUBundles/AppleIntelHD5000GraphicsVADriver.bundle/Contents/MacOS/AppleIntelHD5000GraphicsVADriver: #2: No such file or directory deprecated言うてるから何か古いんだろう。そういえばbrew更新するの忘れていた。 というわけで全部まとめて更新する。 brew upgrade コンソールにgit実行しろと出たので実行 git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core