need help setting up ruby on rails javascript runtime environment

前端 未结 6 2380
一向
一向 2021-02-14 11:14

I\'m having trouble setting up ruby on rails on my machine. I\'ve been following the book \"Agile Web Development with Rails\" and up until now everything has been going fine.<

6条回答
  •  攒了一身酷
    2021-02-14 12:09

    Your Gemfile should contain BOTH of the following lines:

    gem 'execjs'
    gem 'therubyracer'
    

    Then run bundle install and try again.

提交回复
热议问题