Jquery-datatables gem sass files not found error

I’m trying to use jquery-datatables gem in a rails 7 app it complains it can’t find any of the sass files even though the gems installed What’s necessary for an app to find assets in a gem with import statements through app/assets/application.bootstrap4.scss ? I’m not considering the jquery aspect of troubleshooting the problem I think that would be waste of time