- Install Node with nvm https://github.com/creationix/nvm
- Install Ruby with rbenv https://github.com/rbenv/rbenv
- Get build requirements for ruby-build from here https://github.com/rbenv/ruby-build/wiki#troubleshooting
- Install Cairo (used by the
canvas
npm package)sudo apt-get install libcairo2-dev libjpeg-dev libgif-dev
- Install Yarn https://yarnpkg.com/en/docs/install
- Install bundler
gem install bundler
- Install gems
bundle install
- Install Node deps
yarn
- Compile assets for the first time
bin/webpacker
rails s
rake
or rspec
yarn test