Closed TheVietScholar closed 9 months ago
Hi! I think it fails because your Windows username and user folder has a space in it. I might be wrong, but if it is this, then I'm not sure if this project can fix this problem, but maybe we can let the other project know.
Can you rename the user folder?
I looked to see if I could, and while it's possible, I didn't want to risk my system and change the name of the user folder. Also, I was able to install Jekyll on another Windows system I had where the User folder had a space, so I don't believe that to be the issue.
Can you install ffi by itself? gem install ffi
?
Or, try something like gem install --install-dir=C:/gem_install_temp ffi
Lastly, ffi has a precompiled gem available, but it only supports Ruby 3.1 and earlier. What Ruby version did the other system use?
Hello,
The first command gives a similar error as when I tried to run gem install jekyll bundler
but the second one succeeds.
The other Windows system has ruby 3.2.2 (2023-03-30).
@TheVietScholar
Thanks for checking. If the second command worked, that might indicate that Ruby's mkmf (which is used by most gems that require compiling) is having an issue with spaces in build paths. Not.sure. I'll see if I can try it locally. Unfortunately, most cloud CI that I'm aware of tests with build paths that do not contain a space...
What problems are you experiencing?
Jekyll is failing to install
Steps to reproduce
gem install jekyll bundler
What's the output from
ridk version
?