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
- Edit encrypted credentials
- Run code in the app
- List TODO comments
- List the middleware stack
- Check autoloading
- Clear temporary files
All maintenance and tools commands · Ruby on Rails 8 cheatsheet