Published: Nov 11, 2022 by K. E. Claytor
Some notes on updating ruby-on-rails on my M1 Mac Air running OSX 13:
- Trying to install ruby via the jekyll instructions did not work
- I kept having issues with
ruby -v
andwhich ruby
returning the pre-installed system ruby (2.6.x) ruby-install ruby
did not complete, instead erroring out withsymbol(s) not found for architecture arm64
- I kept having issues with
- However, they linked to Don’t use sudo gem install.
Which led me to the full install instructions for mac
- The key was;
ruby-install ruby -- --enable-shared
- The key was;
- Once that worked, the rest proceeded smoothly until it came time to serve the site.
- I needed to add two additional gems (the install instructions only mention the first)
bundle add webrick
bundle add rexml
- You may need
bundle update
andbundle install
- Then jekyll serve worked;
bundle exec jekyll serve --livereload