LoginSignup
0
0

More than 1 year has passed since last update.

rbenv インストール

Last updated at Posted at 2022-06-02

Homebrew

xcode-select --install

インストール

brew doctor
brew install wget

rbenv

echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile
rbenv install --list    # => インストール可能なバージョン一覧の表示
rbenv install 2.6.1 # => rubyのインストール
rbenv rehash             # => rbenv の再読み込み
rbenv global 2.6.1  # => defaultで使うrubyのバージョン

その他

brew install rbenv ruby-build
gem install bundler
gem install rails
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0