0

I used Fedora 21 in VirtualBox to create a rails app. I have installed Ruby, Rails, rubygem, and bundle ($ bundle install) for my rails app. However, when I go to http://localhost:3000/, there is an error... When I run this command :

$ rails server

There is an error : Could not find a Javascript runtime

Thank you for your help.

Luc
  • 17
  • 6

1 Answers1

0

run bundle exec rails server if it still there try this

yum -y install nodejs

or look at this

Community
  • 1
  • 1
Horacio
  • 2,865
  • 1
  • 14
  • 24