

Although after runningsudo gem update -system` it now says the latest version is already installed. I have tried a few other commands like sudo gem install iStats -n /usr/local/bin, but still nothing works. I have done a bit of reading and found about System Integrity Protection. I'm saying that you should not be installing into system paths. My ruby version is ruby 2.3.7p456 in case it is relevant and I am using MacOS Sierra. The path doesn't have anything to do with whether or not sudo is the correct thing to use. So it almost worked, but I'm still no closer to installing iStats. Operation not permitted rb_sysopen - /System/Library/Frameworks/amework/Versions/2.3/usr/bin/gem Installing darkfish documentation for rubygems-update-3.0.2ĭone installing documentation for rubygems-update after 108 secondsĭone installing documentation for rubygems-update after 0 secondsĮRROR: While executing gem. Parsing documentation for rubygems-update-3.0.2 Successfully installed rubygems-update-3.0.2 Sudo gem update -system and got this output: Updating rubygems-update Then I tried the sudo gem command again but I got the same output as above. I'm not sure what all of this means, but I know it did not work.īrew install ruby, which seemed to do its job. Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-16/2.3.0/iStats-1.6.1/gem_make.out Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/iStats-1.6.1 for inspection. Make: *** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/amework/Versions/2.3/usr/include/ruby-2.3.0/universal-darwin16/ruby/config.h', needed by `smc.o'. System/Library/Frameworks/amework/Versions/2.3/usr/bin/ruby -r. Install MacPorts if you don't already have it, then: sudo port. Install homebrew if you don't already have it, then: brew install git. Note that any non-source distributions are provided by third parties, and may not be up to date with the latest source release. This could take a while.ĮRROR: Failed to build gem native extension.Ĭurrent directory: /Library/Ruby/Gems/2.3.0/gems/iStats-1.6.1/ext/osx_stats There are several options for installing Git on macOS. So that was okay.Īnd the output was: Building native extensions. Failed installation on MacOS 10.14.5 Issue 78 Chris911/iStats GitHub MacOS 10.14.5, no Homebrew (really do NOT want it), no complete Xcode install, but do have parts of it installed (cmd line tools) Looked at this issue, but so many trial-and-error solutions offerred, it's unclear exactly what the reso. Xcode-select: error: command line tools are already installed, use "Software Update" to install updates. Xcode-select -install and the output was: installation Share Improve this question Follow asked Mar 4 at 8:47 stevec 563 5 15 The Removing launchctl service seems to be the issue.

I am trying to install iStats via a ruby gem.
