Skip to content

Instantly share code, notes, and snippets.

@christophervigliotti
Last active October 24, 2022 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christophervigliotti/ebdce7bd376751fdfc4c63ff6112e2ce to your computer and use it in GitHub Desktop.
Save christophervigliotti/ebdce7bd376751fdfc4c63ff6112e2ce to your computer and use it in GitHub Desktop.
Ruby on Rails on an M1 Mac

If you want to get Ruby on Rails running on your M1 Mac...

...just do this...

following along https://www.youtube.com/watch?v=AYyZ_n-fNpc&t=7s

...and ignore my notes...

Once rvm is installed

this allows the command 'rvm' to work
  source /Users/chris/.rvm/scripts/rvm
is rvm installed?
  rvm -v
install ruby 3.1.0
  rvm install 3.1.0
run ruby 3.1.0
  rvm use 3.1.0
which version of ruby is running
  ruby -v
install rails
  sudo gem install rails
(then quit and reopen Terminal)
is rails installed?
  rails -v
yes it is!
lets generate and run an app
  rails new first_m1_app
  cd first_m1_app
  rails s
gtg @ http://127.0.0.1:3000
woot!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment