2019-01-26から1日間の記事一覧

Mac で rbenv 経由で Ruby をインストールした際に Readline が原因で pry や byebug が 実行できないとき

結論 CONFIGURE_OPTS を設定した上で rbenv install する。 具体例 $ CONFIGURE_OPTS="--with-readline-dir=/usr/local/opt --with-openssl-dir=/usr/local/opt" rbenv install 2.6.0 ruby-build: use openssl from homebrew Downloading ruby-2.6.0.tar.bz2…

Mac での git コマンドは Homebrew のものを使うと新しいバージョンに追従できる

結論 $ which git /usr/bin/git $ git --version git version 2.17.2 (Apple Git-113) $ brew install git $ source ~/.zshrc # or source ~/.bashrc $ which git /usr/local/bin/git $ git --version git version 2.20.1

Powered by はてなブログ