psql -d postgres
DROP DATABASE highfive_development;
CREATE DATABASE highfive_development WITH ENCODING='UTF8';
\q
psql -d highfive_development -f high_five_prod_db.sql
Set shakapacker.yml
hmr to true.
hmr: true
Because using webpack 5, the loading sequence do matter.
Install Ruby LSP
by Shopify and VSCode rdbg Ruby Debugger
by KoichiSasada.
Make sure debug only having one version install as default gems, otherwise uninstall first:
gem uninstall -i /opt/homebrew/Cellar/ruby/3.2.2/lib/ruby/gems/3.2.0 debug
gem install debug --default