Closed mraible closed 7 months ago
This step works fine for me. What happens if you run bundle install on jhipster.github.io project?
I have jekyll 3.9.3 and ruby/3.1.0
I might have found the issue. Let me see if I can fix it
The original gemfile has webrick in it so no need to create a newfile
If I clone the jhipster.github.io repo and run bundle install
, it succeeds. However, when I run npm start
, it fails with the following error:
Dependency Error: Yikes! It looks like you don't have jemoji or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- nokogiri/nokogiri' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
jekyll 3.9.5 | Error: jemoji
My version of Ruby on my new M3:
$ ruby --version
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23]
I tried upgrading to Ruby 3 with brew install ruby
, but it still uses /usr/bin/ruby
and I can't delete it with sudo rm /usr/bin/ruby
.
override r-xr-xr-x root/wheel restricted,compressed for /usr/bin/ruby? y
rm: /usr/bin/ruby: Operation not permitted
If I look in Docker Desktop, you can see the error: