I made a rails project with,
rails new test_bootstrap.
succeeded.
moved to the project dir and added the gems
gem \
I tried the solution listed above command which looks very fine for installing individual gem, but for bundler users - you should use bundle config
Use
bundle config build.libv8 --with-system-v8
and
bundle config build.therubyracer --with-system-v8
to configure bundler to take the parameters to be used while installing specific gem