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 -vandwhich rubyreturning the pre-installed system ruby (2.6.x) ruby-install rubydid 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 webrickbundle add rexml- You may need
bundle updateandbundle install
- Then jekyll serve worked;
bundle exec jekyll serve --livereload
