fv17の日記

Webエンジニアの備忘用ブログです。主にWeb界隈の技術に関して書いています。

環境構築

Rails6 + postgresql 12.3 + docker + heroku

参考 Quickstart: Compose and Rails | Docker Documentation Dockerを使ってRails6環境の構築をしてみる - Qiita RailsアプリをDockerで作ってCircleCIで自動テストしてHerokuにデプロイした話 - Qiita メモ Docker 公式Docの方法はRails5までの対応で、Rai…

bundle install時に"An error occurred while installing mysql2 (0.4.9), and Bundler cannot continue."でコケる場合の対処法

エラー発生手順 MySQLをインストール brew install mysql@5.7 brew tap homebrew/services brew services start mysql@5.7 アプリケーションのディレクトリでbundle install git clone <クローン対象のURL> cd <対象ディレクトリ> bundle install 発生したエ…