简体   繁体   中英

Ruby on Rails tutorial, wont load pages/home

After running:

rails generate controller Pages home contact

and adding the following to my Gemfile, and rerunning bundle install, i still get the following in the logs...

ActionView::Template::Error (Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.

Any help would be greatly appreciated. thanks!

Since I am running passenger, I seem to need to restart Apache after any bundle installs :)

Thanks!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM