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
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 https://get.rvm.io | bash -s stable
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?
TypeError: no implicit conversion of String into Integer
(See full trace by running task with --trace)
I got this error
/Users/uname/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/webpacker-4.2.2/lib/webpacker/configuration.rb:95:in rescue in load': Webpacker configuration file not found /Users/uname/Projects/myapp/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory @ rb_sysopen - /Users/uname/Projects/myapp/config/webpacker.yml (RuntimeError)``
But resolved with the following link:
I just upgraded to Catalina from High Sierra. The final steps:
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
Returns the error:
installer: Error - the package path specified was invalid: '/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg'.
And now I'm unable to build gems:
Fetching sassc 2.2.1
Installing sassc 2.2.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
Any ideas on how to fix?
Join 31,353+ developers who get early access to new screencasts, articles, guides, updates, and more.