ExecJS::RuntimeError on Windows trying to follow rubytutorial

后端 未结 13 1878
清歌不尽
清歌不尽 2020-11-22 07:27

UPDATE: Colin\'s suggestion of removing the line //= require_tree . has fixed the issue.

I have wasted over 2 days trying to follow every suggestion

13条回答
  •  -上瘾入骨i
    2020-11-22 07:28

    Here's a less complicated solution, for beginners:

    If you are just working through the tutorial, you are probably working with the default Gemfile (or very nearly). You can open it up in your text editor, and remove the pound sign from the front of this line:

    # gem 'therubyracer', :platforms => :ruby
    

    You will need to re-run bundle install, which will likely download a few things. But once it does, you should be able to start the server without any problem.

    At least, that worked for me.

    This also works on Ubuntu 12.04, by the way.

提交回复
热议问题