After installing the foundation gem version 5.5.2.1, I encountered an error when starting the application:
Showing /home/user/Scrivania/sites/store/app/views/layouts/application.html.erb where line #9 raised:
Incompatible units: 'rem' and 'px'.
Attempting to resolve this issue, I found some suggestions online to edit the _settings.scss file in my gem folder:
../../var/lib/gems/2.1.0/gems/foundation-rails-5.5.2.1/vendor/assets/stylesheets/foundation/_settings.css
I proceeded to comment out these lines:
$row-width: rem-calc(1000);
$column-gutter: rem-calc(30);
$total-columns: 12;
Additionally, I adjusted the $base-font-size with custom values:
$base-font-size: 14px;
$rem-base: $base-font-size;
As I prefer not to downgrade my gems, I would appreciate any assistance in resolving this error.