I’m been going round in circles for days trying to install Jekyll. I’d be very grateful if someone could help me!
At first I was having problems with the Rust dependency.
==> Installing ruby dependency: rust
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences.
If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install
Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 12.4.
==> ./configure --prefix=/usr/local/Cellar/rust/1.68.2 --enable-vendor --set rus
==> make
At this stage my CPU usage would goto 100% and nothing would happen so I had to terminate the process.
After playing aroudn with a few other guides, now I can’t even get that far, with:
sudo gem install jekyll
Giving
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0 directory.
/Library/Ruby/Site/2.6.0/rubygems/installer.rb:712:in `verify_gem_home'
/Library/Ruby/Site/2.6.0/rubygems/installer.rb:902:in `pre_install_checks'
/Library/Ruby/Site/2.6.0/rubygems/installer.rb:302:in `install'
/Library/Ruby/Site/2.6.0/rubygems/resolver/specification.rb:104:in `install'
/Library/Ruby/Site/2.6.0/rubygems/request_set.rb:194:in `block in install'
/Library/Ruby/Site/2.6.0/rubygems/request_set.rb:182:in `each'
/Library/Ruby/Site/2.6.0/rubygems/request_set.rb:182:in `install'
/Library/Ruby/Site/2.6.0/rubygems/commands/install_command.rb:214:in `install_gem'
/Library/Ruby/Site/2.6.0/rubygems/commands/install_command.rb:230:in `block in install_gems'
/Library/Ruby/Site/2.6.0/rubygems/commands/install_command.rb:223:in `each'
/Library/Ruby/Site/2.6.0/rubygems/commands/install_command.rb:223:in `install_gems'
/Library/Ruby/Site/2.6.0/rubygems/commands/install_command.rb:169:in `execute'
/Library/Ruby/Site/2.6.0/rubygems/command.rb:327:in `invoke_with_build_args'
/Library/Ruby/Site/2.6.0/rubygems/command_manager.rb:252:in `invoke_command'
/Library/Ruby/Site/2.6.0/rubygems/command_manager.rb:192:in `process_args'
/Library/Ruby/Site/2.6.0/rubygems/command_manager.rb:150:in `run'
/Library/Ruby/Site/2.6.0/rubygems/gem_runner.rb:51:in `run'
/usr/bin/gem:21:in `<main>'
Does anyone know how I can fix this? Thank you.