Name | Version |
---|---|
ruby | 2.4.1 |
rails | 5.1.0 |
node.js | v6.10.3 |
npm | 3.10.10 |
yarn | v0.23.4 |
$ cd path/to/rails51-sandbox1
$ bin/webpack-dev-server
$ cd path/to/rails51-sandbox1
$ bin/rails s
open http://localhost:3000/heroes/index/ NOT http://localhost:3000/heroes/index . Don't forget the last slash of the URL.