Error when xcode is in a external disk with space on path #2331
-
Title was a bit self explaing, but lets go I have a external 256G ssd and default 1TB internal HD on Mac With this scenario i run rbenv $ rbenv install 3.3.0
BUILD FAILED (macOS 12.7 on x86_64 using ruby-build 20231225)
You can inspect the build directory at /var/folders/9v/47wj8vld16lgrvptgcskc_q00000gn/T/ruby-build.20240104141242.58363.UtqXMK
See the full build log at /var/folders/9v/47wj8vld16lgrvptgcskc_q00000gn/T/ruby-build.20240104141242.58363.log Looking at
Classic problem regarding spaces on paths Full ruby-build.20240104141242.58363.log
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Thanks for reporting. While there is a chance that it is ruby-build specifically that doesn't handle spaces in paths, I think it's more likely that the If so, this is a bug in Ruby's own source code and should be reported there. @hsbt: Do you know of a known issue regarding build tools found in a location with spaces? |
Beta Was this translation helpful? Give feedback.
-
"Macintosh HD" is the default hard drive name, and for most people, Xcode is installed inside that hard drive. On a clean macOS setup, this doesn't cause problems. My guess is that you set an environment variable and/or the Xcode path to You can check the current path with this command:
You can check all the env vars with If the Xcode path is wrong, you can fix it like this:
I tried to reproduce this by running |
Beta Was this translation helpful? Give feedback.
if i done everything right the problem is indeed in ruby itself
download tarbal snapshot
Stable Snapshot of ruby_3_3 branch
from hereextract it to
Macintosh HD
and run configureseems to be the ruby
thanks for the attention