You’re not receiving notifications from this thread.
Setup MacOS 11 Big Sur Discussion
Followed these steps just after reformatting my mac to OS BigSur and got the following error when I tried creating a new rails app:
sh: node: command not found
sh: nodejs: command not found
Node.js not installed. Please download and install Node.js https://nodejs.org/en/download/
I guess Node doesn't come installed with a mac, so going to see if installing that will resolve the issue.
When I run ruby -v I get the response ruby 2.6.3 instead of ruby 3.0.2. What do you think the problem might be?
For anyone seeing this in the future. I had the same issue and got an error when trying to install rails because it was looking for ruby 2.6.3 which wasn't installed. Solved it my closing and reopening terminal. Might work if you run
rbenv rehash as well.
Question: When I run ruby -v I get the response ruby 2.6.3 instead of ruby 3.0.2
Did you run
rbenv global 3.0.2?
I don't use rbenv, so this is a guess.
I use chruby which is bit more basic and easier than rbenv. https://github.com/postmodern/chruby