Problem with installing Ruby 3.2.2 under Homebrew rbenv/ruby-build on Ubuntu 22.04 under WSL2 #2206
Unanswered
alexeyr-ci
asked this question in
Build failures
Replies: 1 comment
-
Strange that a ruby installation with prefix Do you have GEM_HOME or GEM_PATH environment variables set, by any chance? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When trying to do the above, I ran into this a failure on this late step
I was able to figure out that
/home/linuxbrew/.linuxbrew/lib/ruby/gems/3.2.0/specifications/default/*.gemspec
were readable and writable, they were symlinks to/home/linuxbrew/.linuxbrew/Cellar/ruby/3.2.2/lib/ruby/gems/3.2.0/specifications/default/
, and the files there were not writable and making them so fixed the problem. So posting more in case this helps someone else with the same problem. I am not sure if it's a Homebrew problem or a ruby-build one.ruby-build version is 20230608.
Beta Was this translation helpful? Give feedback.
All reactions