Installation

  • Install rbenv with the latest ruby version
  • Then,
    gem install bundler
    gem install rails
    

Initialize a Rails app

rails new myapp -d postgresql --webpack=react
createuser -s myapp
rails db:create:all
rails server # Visit http://127.0.0.1:3000/