Add missing dependency for environment_loader.rb and repository.rb#2997
Open
elaraspace wants to merge 1 commit into
Open
Add missing dependency for environment_loader.rb and repository.rb#2997elaraspace wants to merge 1 commit into
environment_loader.rb and repository.rb#2997elaraspace wants to merge 1 commit into
Conversation
Author
|
Oops. Sorry. I used the wrong signing key. I made another commit. |
environment_loader.rbenvironment_loader.rb and repository.rb
austinmcconnell
added a commit
to austinmcconnell/dotfiles
that referenced
this pull request
Jun 17, 2026
GEM_HOME was directing all gems into a shared directory, breaking rbenv's per-version isolation and causing native extension conflicts. Replace with GEMRC for XDG-compliant gemrc location only. Add RUBYOPT="-rpathname" to work around rbs gem calling Pathname() without requiring it (ruby/rbs#2997). Point ALE at the global solargraph binary directly to bypass rbenv shim failures when a project's .ruby-version isn't installed. - Remove GEM_HOME and GEM_SPEC_CACHE from ruby.zsh - Remove stale gem directory creation and migration from install/ruby.sh - Update DEFAULT_RUBY_VERSION to 3.4.9 - Set ale_ruby_solargraph_executable to full path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I tried to use Solargraph and that got me into an error that seemed to be caused by rbs:
It turns out, the file
environment_loader.rbwas usingPathnamewithout requiring it:Therefore, I added the following line at the top of the file.
repository.rbseemed to have a similar problem, so I added the same line for this file too:I'm quite new to Ruby, so please be kind. Thanks.