athityakumar / athityakumar/colorls
Ignoring clocale-0.0.4 error but everything works anyway
- Dominant language
- Ruby
- Stars
- 5.1k
- Forks
- 396
- PR merge metrics
- No merged PRs in 30d
Description
I've read all of the comments and feed with regards to installing colorls on Mac M1 computers.
I'm using Homebrew and rbenv to manage my installations and ruby.
So far everything works as prescribed for colorls.
However, everytime I open my iTerm i get the following message:
```
Ignoring clocale-0.0.4 because its extensions are not built. Try: gem pristine clocale --version 0.0.4
Ignoring clocale-0.0.4 because its extensions are not built. Try: gem pristine clocale --version 0.0.4
```
I've attempted to follow the instructions:
`gem pristine clocale --version 0.0.4`
With the following result:
```
Restoring gems to pristine condition...
Building native extensions. This could take a while...
Restored clocale-0.0.4
```
However I still get the warning.
I've checked inside:
`~/.rbenv/shims/`
And I see the colorls gem installed but I don't see the clocale gem.
If I do:
`which colorls`
I get:
`/Users/my_name/.rbenv/shims/colorls`
However, if i do:
`which clocale`
I get:
`clocale not found`
Now If I look at the installed gems using gem list I can see that clocale is installed:
```
clocale (0.0.4)
colorls (1.4.6)
```
How can I fix the warning message:
`Ignoring clocale-0.0.4 because its extensions are not built. Try: gem pristine clocale --version 0.0.4`
- Relevant Issues : (none)
- Relevant PRs : (none)
- Type of issue :
- [x] Installation
- [ ] Font-related
- [ ] Feature request
- [x ] Bug in existing feature
- [ ] Developer mode : Code quality / Tests / Documentation
Contributor guide
Research direction
Start by reproducing the warning with the Ruby, rbenv, and Homebrew setup described, then run `gem pristine clocale --version 0.0.4`, `gem list`, and the `which` commands. Check the reported `~/.rbenv/shims/` state and determine whether the clocale extension is built; done means the warning no longer appears when iTerm opens.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, ruby
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100