Could not find a JavaScript runtime
My Rails3.1 app worked fine on Windows but got the "Could not find JavaScript runtime" error when running on Linux.
Solution:
[code="ruby"]gem 'therubyracer', :platforms => :ruby[/code]
...
2012-02-02 13:19:55 ·
150 阅读 ·
0 评论