$ rails -T
=>
rails aborted!
Bundler::GemRequireError: There was an error while trying to load the gem 'coffee-rails'.
Gem Load Error is: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes.
Backtrace for gem load error is:
$ sudo yum install epel-release
$ sudo yum install nodejs --enablerepo=epel
$ sudo yum -y install nodejs
=>
Loaded plugins: etckeeper, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process
No package nodejs available.
Error: Nothing to do
$ curl --silent --location https://rpm.nodesource.com/setup | bash -
$ sudo yum install -y nodejs