Ruby on Rails 8 · Maintenance and tools

Precompile assets

Build the asset files for production.

bin/rails assets:precompile

Official Ruby on Rails 8 documentation

More maintenance and tools commands

All maintenance and tools commands · Ruby on Rails 8 cheatsheet

Was this page helpful?