-
I managed to install mamba create -n ghl python=3.11
mamba activate ghl
mamba install compilers ruby libgit2=1.7.1 cmake pkg-config icu zlib
gem install github-linguist -- --use-system-libraries 🎉 Now, when running
I'm wondering why FWIW: I can easily fix this doing Is this due to the way I installed ruby? Can I call ghl providing the ruby version to use? 🤷 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I have no idea what mamba is or how it works, but this sounds like something related to the gem environment which isn't setting the correct variables or some-such. I use mise on macOS and my
This comes from the ➜ gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 3.5.11
- RUBY VERSION: 3.3.3 (2024-06-12 patchlevel 89) [arm64-darwin23]
- INSTALLATION DIRECTORY: /Users/lildude/.local/share/gem
- USER INSTALLATION DIRECTORY: /Users/lildude/.gem/ruby/3.3.0
- RUBY EXECUTABLE: /Users/lildude/.local/share/mise/installs/ruby/3.3.3/bin/ruby
- GIT EXECUTABLE: /opt/homebrew/bin/git
- EXECUTABLE DIRECTORY: /Users/lildude/.local/share/gem/bin
- SPEC CACHE DIRECTORY: /Users/lildude/.cache/gem
- SYSTEM CONFIGURATION DIRECTORY: /Users/lildude/.local/share/mise/installs/ruby/3.3.3/etc
- RUBYGEMS PLATFORMS:
- ruby
- arm64-darwin-23
[... truncated for brevity ...] I suspect your env isn't setting the correct A little bit of Googling led me to conda-forge/ruby-feedstock#116 which indicates you're not alone. |
Beta Was this translation helpful? Give feedback.
I have no idea what mamba is or how it works, but this sounds like something related to the gem environment which isn't setting the correct variables or some-such.
I use mise on macOS and my
github-linguist
command lands in$HOME/.local/share/gem/bin/github-linguist
with this being the first line:This comes from the
RUBY EXECUTABLE
configuration in mygem environment
: