Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this still being developed? #105

Open
ghost opened this issue Apr 23, 2021 · 2 comments
Open

Is this still being developed? #105

ghost opened this issue Apr 23, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 23, 2021

I cannot get iStats to install on Catalina 10.15.7. These are the errors I get:

gem install iStats
ERROR: While executing gem ... (Errno::EACCES)' Permission denied @ rb_sysopen - /Library/Ruby/Gems/2.6.0/gems/iStats-1.6.1/.gitignore
WARNING: You don't have /Users/colli-biondik/.gem/ruby/2.6.0/bin in your PATH, gem executables will not run.' ERROR: While executing gem ... (Errno::EACCES)'
Permission denied @ rb_sysopen - /Users/colli-biondik/.gem/ruby/2.6.0/gems/iStats-1.6.1/.gitignore

(it is indeed in my path)

sudo gem install iStats
Building native extensions. This could take a while...' ERROR: Error installing iStats:'
`ERROR: Failed to build gem native extension.'

current directory: /Library/Ruby/Gems/2.6.0/gems/iStats-1.6.1/ext/osx_stats

/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby -I /Library/Ruby/Site/2.6.0 -r ./siteconf20210423-5610-1m35i1i.rb extconf.rb
creating Makefile

current directory: /Library/Ruby/Gems/2.6.0/gems/iStats-1.6.1/ext/osx_stats
make DESTDIR= clean

current directory: /Library/Ruby/Gems/2.6.0/gems/iStats-1.6.1/ext/osx_stats
make DESTDIR=
make: *** No rule to make target /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin19/ruby/config.h', needed by smc.o'. Stop.

make failed, exit code 2

Gem files will remain installed in /Library/Ruby/Gems/2.6.0/gems/iStats-1.6.1 for inspection.
Results logged to /Library/Ruby/Gems/2.6.0/extensions/universal-darwin-19/2.6.0/iStats-1.6.1/gem_make.out

I tried MANY help forums and none of the suggested "fixes" worked. I have this installed on all my iMacs that are running Catalina with zero issues installing - for whatever reason it will not on my MackBook Pro 16" 2019. This gem is awesome and would love for it to install on my machine.

@ChiehJang
Copy link

https://notes.zhangjie.work/index.php/archives/35/

@zach-li-sudo
Copy link

https://notes.zhangjie.work/index.php/archives/35/

It works!! Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants