What is therubyracer or libv8 for in a rails application?
问题 I was working on a project and was having issues with therubyracer and libv8 often, so i decided to remove them. It seemed to be the only thing that used them as a dependency was less-rails which I wanted to remove anyways. My main question is what are they for and do I need them in the average application and if so why? 回答1: There are a few things for which a Rails app might use a Javascript Runtime: 1) The Rails Asset Pipeline requires a Javascript Runtime in order to perform Javascript