Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since @steveklabnik suggests therubyracer in the Gemfile causes rstat.us not to bundle on OS X, I will simply remove it as a dependency on OS X and Windows where it is not necessary anyway.
However, I can confirm that on my Linux machine, not having therubyracer will indeed cause rstat.us to not be able to generate assets. It fails when I comment it out... works when I remove the comment and bundle. It is still necessary.
This makes sense. You need a js engine to use coffeescript, etc. On OS X, it uses the one provided with Safari. On Windows, the one used for IE can be used. On Linux, however, it does not have a guaranteed engine installed. And since rstat.us should be viable for all deployment opportunities, this means it will find itself on bare Linux environments. It should not hurt to have therubyracer installed even if libv8 is installed through different means on Linux.
Therefore, the Gemfile contains a condition that checks the platform for OS specific tags. It only blacklists the two OSes, so it should be rather conservative.