asdf-vm / asdf-ruby

Ruby plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
650 stars 133 forks source link

rbenv install faild with whitespace in `$ASDF_DATA_DIR` #372

Open nix6839 opened 10 months ago

nix6839 commented 10 months ago

Maybe releated to: #270

$ echo $ASDF_DATA_DIR
/Users/user/Library/Application Support/asdf
$ asdf install ruby 3.2.2
...
-> ./configure "--prefix=$HOME/Library/Application Support/asdf/installs/ruby/3.2.2" --with-openssl-dir=/opt/homebrew/opt/openssl@3 --enable-shared --with-readline-dir=/opt/homebrew/opt/readline --with-gmp-dir=/opt/homebrew/opt/gmp
-> make -j 8

BUILD FAILED (macOS 14.1.1 on arm64 using ruby-build 20231107)

You can inspect the build directory at /var/folders/x_/63vwgt6x6q356xl90678gy7h0000gn/T/ruby-build.20231114083010.23859.uPDln8
See the full build log at /var/folders/x_/63vwgt6x6q356xl90678gy7h0000gn/T/ruby-build.20231114083010.23859.log
$ tail /var/folders/x_/63vwgt6x6q356xl90678gy7h0000gn/T/ruby-build.20231114083010.23859.log
...
clang: error: no such file or directory: 'Support/asdf/installs/ruby/3.2.2/lib/libruby.3.2.dylib'
make: *** [libruby.3.2.dylib] Error 1
external command failed with status 2