tubeose.blogg.se

Windows gem install jekyll ffi building native extensions
Windows gem install jekyll ffi building native extensions







windows gem install jekyll ffi building native extensions

Ruby 2.6.3p62 ( revision 67580) [universal.arm64e-darwin20Ĭheck where Ruby is installed and pointing to the pre-installed system default Ruby that comes with macOS. Inspired by the confirmation on the Jekyll site that the native mode would work, focussed on this below approach to the native solution rather than focussing on the workaround.Ĭheck the default Ruby version that came with macOS (Big Sur 11.3.0 in this case).Could not get the workaround to work earlier, however at the end was happy that the workaround was not required and could install Jekyll in the native mode. While reading through various forums, there were recommendations to use Rosetta2 emulator and use the x86_64 bit emulation as a workaround.

windows gem install jekyll ffi building native extensions

So as done below, you may give a try, however had to use rbenv to reinstall and set global default to Ruby 3.0.0. Note that Homebrew will install only the latest version of Ruby.Reverted back to Ruby 3.0.0 and that eventually helped to overcome the error received with 3.0.1. Did not work (did not further investigate the issue with 3.0.1). Tried the below steps with Ruby 3.0.1.If you are interested to read up on rbenv, here is the rbenv github repo. There are multiple version managers like rbenv, asdf, chruby and rvm and a very good documentation is available here, Change Ruby version on Mac. To set the system environment to use the desired Ruby version, a version manager need to be used.To install Ruby, package manager Homebrew may be used.Set the path to the new Ruby version (Ruby 3.0.0) such that Jekyll defaults to using this new Ruby version and not the system pre-installed Ruby.Install a different version of Ruby other than the system pre-installed version, such that this updated Ruby version uses ffi having a version at least 1.14.2.If you are interested to read up on ffi, you may refer ffi github. The core issue is potentially due to the older version of ffi that is used by the system default pre-installed Ruby.This would be applicable for all macOS versions and not just the Big Sur 11.3.0 on Apple M1.This system pre-installed Ruby version on ARM architecture (Apple M1s) is not compatible with Jekyll 4.2.0 MacOS Big Sur 11.3.0 has inbuilt Ruby version 2.6.3p62.Documenting the final solution and key findings so as to help anyone struggling to install Jekyll on macOS with Apple M1. It took lot of effort, reading up many forums and understanding the core issue and to finally get this to work. Managed to successfully install Jekyll 4.2.0 on macOS BigSur 11.3.0 on a MacBook Pro with Apple M1 (ARM64 architecture) in native mode.

windows gem install jekyll ffi building native extensions

You may need to run bundle update or update ffi to at least 1.14.2 manually.” However, bundle exec jekyll serve may fail with older version ffi.

windows gem install jekyll ffi building native extensions

“Jekyll is compatible with macOS with ARM64 architecture. Installing Jekyll on macOS in Apple M1 is still not a breeze, however Jekyll site confirms that:









Windows gem install jekyll ffi building native extensions