Some notes for creating first application using Michael Hartl's book "Ruby on Rails Tutorial 2nd edition"
Using rails to generate a first application:
user$ mkdir rails
user$ cd rails
user$ rails new first_app
At this point the bundler failed and I still had problems after the edits were made to the Gemfile indicated in the book
user$ gem install execjs
This installed gem execjs v2.2.2
root# yum install sqlite-devel
Everything now worked except jquery-rails was changed to v2.0.1 as v2.0.0 has been yanked
root# yum install nodejs
server now works...