Skip to content

conda: github-linguist tries to use ruby in rubygems directory #6914

Answered by lildude
sdruskat asked this question in Q&A
Discussion options

You must be logged in to vote

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:

➜ head -1 /Users/lildude/.local/share/gem/bin/github-linguist
#!/Users/lildude/.local/share/mise/installs/ruby/3.3.3/bin/ruby
➜ 

This comes from the RUBY EXECUTABLE configuration in my gem environment:

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sdruskat
Comment options

Answer selected by sdruskat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants