5 ms·
I got my first error right after `rails new myapp` and `rails server`. After some Googling I found out that apparently I had to install Node.js also, but the er
by Luyt 11y ago
I got my first error right after `rails new myapp` and `rails server`. After some Googling I found out that apparently I had to install Node.js also, but the error message wasn't very clear. This was the official 'getting started' rails tutorial on the rubyonrails.org site [0].
[0] http://guides.rubyonrails.org/getting_started.html http://guides.rubyonrails.org/getting_started.html
- nik736 11y agoWell, you need a javascript runtime, eg you could install nodejs, that's what the error says. I agree that it might be confusing as a rails beginner, but Rails uses it to convert CoffeeScript files and for minifying and merging all JS stuff into one file.