luctus PRO
Joined 11/9/2021
luctus PRO said almost 2 years ago on Docker on Rails 7 :
Hey there! I'm having issues with nokogiri too, this is the error I get (running from M1):
/usr/local/bundle/gems/nokogiri-1.13.6-aarch64-linux/lib/nokogiri/extension.rb:7:in `require_relative': Error loading shared library ld-linux-aarch64.so.1: No such file or directory (needed by /usr/local/bundle/gems/nokogiri-1.13.6-aarch64-linux/lib/nokogiri/3.1/nokogiri.so) - /usr/local/bundle/gems/nokogiri-1.13.6-aarch64-linux/lib/nokogiri/3.1/nokogiri.so (LoadError)

By the way, I also got an error related to yarn:
Error:
rails-js-1        | You installed esbuild on another platform than the one you're currently using.
rails-js-1        | This won't work because esbuild is written with native code and needs to
rails-js-1        | install a platform-specific binary executable.
rails-js-1        |
rails-js-1        | Specifically the "esbuild-darwin-arm64" package is present but this platform
rails-js-1        | needs the "esbuild-linux-arm64" package instead. People often get into this
rails-js-1        | situation by installing esbuild on Windows or macOS and copying "node_modules"
rails-js-1        | into a Docker image that runs Linux, or by copying "node_modules" between
rails-js-1        | Windows and WSL environments.

luctus PRO said almost 2 years ago on Docker on Rails 7 :
Oh! I found it.
We need to install the gcompat package in the alpine distro, so the Dockerfile should be like this:

RUN apk add --no-cache --update \
  build-base \
  git \
  postgresql-dev \
  nodejs \
  yarn \
  vips \
  tzdata \
  gcompat \
  && rm -rf /var/cache/apk/*


Based on [this issue](https://github.com/sparklemotion/nokogiri/issues/2430)

luctus PRO said 10 months ago on Email Tracking :
Great episode, David!

Maybe adding a different path to that tracking pixel could be a good idea (without including the word "tracker").

luctus PRO said 10 months ago on Academic Discount :
Much appreciated, David! we already have some academic email checks in place, but will add your gem now too.