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

Unable to install Istats on my 10.15.7 Cataline #98

Open
ootkarl opened this issue Oct 5, 2020 · 10 comments
Open

Unable to install Istats on my 10.15.7 Cataline #98

ootkarl opened this issue Oct 5, 2020 · 10 comments

Comments

@ootkarl
Copy link

ootkarl commented Oct 5, 2020

It's weird that I have looked at many of the previous issues posted, but still unable to install Istats on my 10.15.7 Cataline.
My ruby version is uby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19]
and when I use sudo gem install iStats, it shows this.
截屏2020-10-05 下午12 01 00

@jperry18
Copy link

jperry18 commented Oct 6, 2020

I have also encountered an error similar to this after updating from High Sierra to Catalina. I haven't found a solution yet, but will post it if I figure anything out.

@OptimusGREEN
Copy link

same here on mojave

@Liampor
Copy link

Liampor commented Nov 8, 2020

take a look at #85 (comment), may help

@zephosh
Copy link

zephosh commented Dec 8, 2020

take a look at #85 (comment), may help

I tried the steps mentioned in the comment of Liampor but nothing works. Could someone, please, help me to solve the problem? I have the same errors like on the screenshot above

@ghost
Copy link

ghost commented Jan 7, 2021

take a look at #85 (comment), may help

I tried the steps mentioned in the comment of Liampor but nothing works. Could someone, please, help me to solve the problem? I have the same errors like on the screenshot above

Catalina 15.7 here

You can do these to make it work:

First, don't use the gem that Mac provides you, if you use this one, You need 'sudo', and get error.

brew install ruby

Run it to install a gem.

Then add this ruby path and this gem path to your .zshrc files, in my Mac is like this

export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="/usr/local/lib/ruby/gems/3.0.0/bin:$PATH"

It may be different in your Mac ! And The istats will install in /usr/local/lib/ruby/gems/(your gem version)/gems/

Finally, run

source ~/.zshrc
gem install iStats
istats

You can find it works well.
image
image

@ghost
Copy link

ghost commented Feb 9, 2021

I am also having similar issue getting iStats to install on a 2019 16" MBP running macOS 10.15.7. using gem.

@haassttee
Copy link

haassttee commented Oct 5, 2021

take a look at #85 (comment), may help

I tried the steps mentioned in the comment of Liampor but nothing works. Could someone, please, help me to solve the problem? I have the same errors like on the screenshot above

Catalina 15.7 here

You can do these to make it work:

First, don't use the gem that Mac provides you, if you use this one, You need 'sudo', and get error.

brew install ruby

Run it to install a gem.

Then add this ruby path and this gem path to your .zshrc files, in my Mac is like this

export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="/usr/local/lib/ruby/gems/3.0.0/bin:$PATH"

It may be different in your Mac ! And The istats will install in /usr/local/lib/ruby/gems/(your gem version)/gems/

Finally, run

source ~/.zshrc
gem install iStats
istats

You can find it works well. image image

tried this but it wont work can u pls help with this?

@haassttee
Copy link

Screen Shot 2021-10-05 at 4 36 17 PM

I tried! Pls help:(

@ghost
Copy link

ghost commented Oct 7, 2021

Screen Shot 2021-10-05 at 4 36 17 PM

I tried! Pls help:(

It seems that you have solved the problem. (* ̄3 ̄)╭
( ̄▽ ̄)[][]~( ̄▽ ̄)/
#108

国语交流版:
看样子你已经解决了这个问题(* ̄3 ̄)╭
其实就是gem安装路径有没有权限的锅,换一个自己的gem就行(添加PTAH就是这个目的)
(错误的原因应该是,你添加的PATH有问题或者你的那个路径需要root权限访问,但是这个在其他电脑上是不需要的)
不要用系统自带的,路径权限卡的死,且容易出问题
不推荐sudo,因为很容易出现权限问题

@haassttee
Copy link

haassttee commented Oct 11, 2021

Screen Shot 2021-10-05 at 4 36 17 PM I tried! Pls help:(

It seems that you have solved the problem. (* ̄3 ̄)╭ ( ̄▽ ̄)[][]~( ̄▽ ̄)/ #108

国语交流版: 看样子你已经解决了这个问题(* ̄3 ̄)╭ 其实就是gem安装路径有没有权限的锅,换一个自己的gem就行(添加PTAH就是这个目的) (错误的原因应该是,你添加的PATH有问题或者你的那个路径需要root权限访问,但是这个在其他电脑上是不需要的) 不要用系统自带的,路径权限卡的死,且容易出问题 不推荐sudo,因为很容易出现权限问题

Screen Shot 2021-10-11 at 9 10 19 PM

I reset my mac and now the widgets aren't showing up XD
NVM SORRY ITS OK NOW I DIDNT SEE THE WIDGETS..(color gray!) Thank you tho i combined the link and what you said:D.

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

6 participants