Hi folks.
I am new to Ruby and Jekyll but generally tech savvy.
Im running Windows 11.
Trying to create a new Jekyll site. I followed all the steps in the docs (some problems accessing Jekyll, resolved by editing Windows path and rebooting)
In VSCODE, I ran
gem install jekyll bundler
which ran with no faults.
I then tried to create a new jekyll site with
jekyll new mysite
(In VSCODE also but see below)
This reported the error error occurred while installing wdm (0.1.1), and Bundler cannot continue
I’ve looked at various solutions to this - since I am new to Ruby I haven’t gone into any of its internals.
I then ran
bundle install
This reported Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
with quite extensive diagnostics
I then ran
gem install wdm
This gave the same diagnostics. At the end it states
Gem files will remain installed in C:/Users/afree/.local/share/gem/ruby/3.3.0/gems/wdm-0.1.1 for inspection.
Results logged to C:/Users/afree/.local/share/gem/ruby/3.3.0/extensions/x64-mingw-ucrt/3.3.0/wdm-0.1.1/gem_make.out
I’ve gone through most of these steps also outside VScode, in both cmd and powershell
This must be a common problem, though I haven’t yet found previous answers to it. Probably something trivial but I’m stuck, and if I am, others must be also.
All suggestions welcome.