bootstrap.min.js
& jquery-3.4.1.min.js
in vendor/assests/javascript
bootstrap.mini.css
in vendor/assets/stylesheets
config/initializers/assets.rb
, add all 3 files to the precompile listvendor/assets
file directory, you will need to manually include them in both the css and js manifest files# application.js
//= require jQuery-3.4.1.min.js
layouts/application.html.erb
<%= stylesheet_link_tag 'bootstrap.min' %>
# last element before the closing body tag:
# Use the script to access popper.js, needed for bootstrap 4.3.1
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<%= javascript_include_tag 'bootstrap.min' %>