I am beginning App Academy Open and cannot properly get Ruby and rbenv to run correclty. Please advise

I am running into an error whenever I try to run a Ruby file or when I run:

(base) ray@raymonds-air ~ % ruby -v
/Users/ray/.rbenv/shims/ruby: fork: Resource temporarily unavailable

This is my relevant code inside my zsh shell:

export PATH=/opt/homebrew/bin:$PATH
export PATH="~/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export PATH="~/.rbenv/shims:/usr/local/bin:$PATH"

I've also already tried running:

rbenv global 2.7.2

I feel like I'm close but I can't get Ruby to run properly. Any suggestions would be great.



Read more here: https://stackoverflow.com/questions/68092378/i-am-beginning-app-academy-open-and-cannot-properly-get-ruby-and-rbenv-to-run-co

Content Attribution

This content was originally published by candycrusher420 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: