Rails application with ActionView::Component
The monkey patch necessary to use this code on versions of Rails prior to the alpha of 6.1 can be found in app/lib/action_view/component.rb
.
Use your favorite Ruby version manager to install 2.6.1
.
Install Postgres as desired.
bundle install
npm install
rails db:setup
rspec
rails s
Run server in production mode: RAILS_ENV=production rails s
.
Load /benchmark
and read server log.