The Datatables gem requires 'jquery.ui.core' which the 'jquery-ui-rails' gem provides.
Here (https://github.com/indirect/jquery-rails) they have mentioned:
For jQuery UI, we recommend the jquery-ui-rails gem, as it includes the jquery-ui css and allows easier customization.