athityakumar / athityakumar/colorls

I dont think colorls is installing?

Open
#452 28 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
5.1k
Forks
396
PR merge metrics
No merged PRs in 30d

Description

### Description

I keep running into an issue with getting ```colorls``` installed. I saw issue number #280 and i've tried running with sudo and still nothing.
![Screen Shot 2021-04-10 at 1 12 02 PM](https://user-images.githubusercontent.com/74523880/114278718-18fee400-99ff-11eb-99bb-d6e005bad4b1.png)

below is what i keep running into.
```
Traceback (most recent call last):
10: from /usr/local/bin/colorls:23:in `'
9: from /usr/local/bin/colorls:23:in `load'
8: from /Library/Ruby/Gems/2.6.0/gems/colorls-1.4.4/exe/colorls:21:in `'
7: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
6: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
5: from /Library/Ruby/Gems/2.6.0/gems/colorls-1.4.4/lib/colorls.rb:9:in `'
4: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
3: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
2: from /Library/Ruby/Gems/2.6.0/gems/clocale-0.0.4/lib/clocale.rb:15:in `'
1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Library/Ruby/Gems/2.6.0/gems/clocale-0.0.4/lib/clocale/clocale.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/clocale-0.0.4/lib/clocale/clocale.bundle - /Library/Ruby/Gems/2.6.0/gems/clocale-0.0.4/lib/clocale/clocale.bundle (LoadError)
```

- Relevant Issues : (none)
- Relevant PRs : (none)
- Type of issue :
- [ ] Installation
- [ ] Font-related
- [ ] Feature request
- [ ] Bug in existing feature
- [ ] Developer mode : Code quality / Tests / Documentation

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported failure on the macOS and Ruby 2.6 setup. Read lib/colorls.rb and the clocale dependency referenced in the traceback, then determine the installation path involved. Done means colorls installs and launches without the reported incompatible-architecture LoadError on the supported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, ruby
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.