Skip to main content

Setup MacOS 10.15 Catalina Discussion

General • Asked by Chris Oliver

When I am installing Rails using command - gem install rails -v 6.0.0, I am getting an permission error.
"You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory."

Please help with this

@Nitish Kumar
I've had the same problem. Fixed by adding sudo at the beginning.

Has anyone else run into a problem downloading RVM after updating to Catalina?

If I run the install script:

\curl -sSL | bash -s stable

I get:

mkdir: /User_Profile.rvm/src: Read-only file system

I imagine I have to adjust some things for zsh but I am totally stuck!

zsh is now the default in Catalina. I wonder if using bash in your install script is part of the problem?

I get these errors while creating the db. any suggestions?
rake db:create

rake aborted!

TypeError: no implicit conversion of String into Integer
/Users/faqrulislamshaon/rubyrailtest/config/boot.rb:4:in require'
/Users/faqrulislamshaon/rubyrailtest/config/application.rb:1:in require_relative'
/Users/faqrulislamshaon/rubyrailtest/Rakefile:4:in require_relative'
(See full trace by running task with --trace)

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.