Ruby
【Ruby】HanamiでHello World→Herokuデプロイ
· ☕ 2 分で読めます
環境 Ruby 2.7.4 Hanami 1.3.4 MySQL 8.0.23 Heroku CLI 7.56.1 ローカル環境構築 まず、HanamiはRuby3では使えないらしい。 Cannot create new hanami application · Issue #1108 · hanami/hanami Boot Error Something went wrong while loading /Users/k_end/personal/groovy_grouping/config.ru Hanami::Model::Error: PG::ConnectionBad: could not connect to server: Connection

【Shell】便利なコマンドなど
· ☕ 1 分で読めます
shell $_ 1 2 mkdir hoge cd $_ # cd hoge と同じ 前回の引数を取得して使える。 cd - 1 2 3 cd /tmp cd /home cd - # /tmpに行く 前のディレクトリに行く cd -でこの意味を持つらし