読者です 読者をやめる 読者になる 読者になる

Ruby on Rails 勉強

Ruby

Step 1: Install Command line tools on terminal

xcode-select --install

Step 2: Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

step3

sudo port uninstall ruby  上記、入力してもcommand not found

step4

rvm implode brew install rbenv ruby-build echo 'eval "$(rbenv init -)"' >> ~/.bash_profile source ~/.bash_profile

Step 5: Install​ ​Ruby

rbenv install 2.3.0 rbenv global 2.3.0 ruby -v

step 6 install bundller and​ ​rails

gem install bundler bundle -v gem install rails rails -v