BUILD FAILED: Permission denied, Failed to open the file ruby-x.x.x.tar.gz. Kubuntu 24.04 #2556
-
|
Hi. I can't to install any ruby version. $ rbenv install 3.4.5 BUILD FAILED (Ubuntu 24.04 on x86_64 using ruby-build 20250716) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The issue turned out to be that After switching to the APT version of |
Beta Was this translation helpful? Give feedback.
The issue turned out to be that
curlwas installed via Snap. Due to Snap's sandboxing restrictions, it didn’t have proper access to/tmp, which caused the write error (status 23). The solution was to remove the Snap version and install the native one using APT:After switching to the APT version of
curl, theruby-buildinstallation completed without any problems.