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

Broken after brew upgrade #280

Closed
mickaelperrin opened this issue Apr 18, 2019 · 2 comments
Closed

Broken after brew upgrade #280

mickaelperrin opened this issue Apr 18, 2019 · 2 comments

Comments

@mickaelperrin
Copy link

Hi,

I did a brew upgrade on my mac and colorls is now broke :(

# colorls
Ignoring clocale-0.0.4 because its extensions are not built. Try: gem pristine clocale --version 0.0.4
Traceback (most recent call last):
	10: from /usr/local/bin/colorls:23:in `<main>'
	 9: from /usr/local/bin/colorls:23:in `load'
	 8: from /Users/mickaelperrin/.gem/gems/colorls-1.2.0/exe/colorls:4:in `<top (required)>'
	 7: from /usr/local/Cellar/ruby/2.6.2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 6: from /usr/local/Cellar/ruby/2.6.2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 5: from /Users/mickaelperrin/.gem/gems/colorls-1.2.0/lib/colorls.rb:9:in `<top (required)>'
	 4: from /usr/local/Cellar/ruby/2.6.2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 3: from /usr/local/Cellar/ruby/2.6.2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 2: from /Users/mickaelperrin/.gem/gems/clocale-0.0.4/lib/clocale.rb:15:in `<top (required)>'
	 1: from /usr/local/Cellar/ruby/2.6.2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/usr/local/Cellar/ruby/2.6.2/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': incompatible library version - /Users/mickaelperrin/.gem/gems/clocale-0.0.4/lib/clocale/clocale.bundle (LoadError)

I tried the following without success:

gem update colorls
gem pristine clocale --version 0.0.4
gem pristine clocale
gem uninstall colorls; gem install colorls

Any hints to resolve this issue ?

Thanks,

@mickaelperrin
Copy link
Author

mickaelperrin commented Apr 18, 2019

Resolved by reinstalling with sudo.

@Maf-H
Copy link

Maf-H commented Sep 28, 2024

run the following command as admin >"sudo gem pristine clocale --version 0.0.4"

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