is there a way of installing therubyracer in windows?

有些话、适合烂在心里 提交于 2019-12-12 13:00:08

问题


Is there a way of installing therubyracer gem i.e required to run a RoR project in windows?

I've tried normal way, but it wouldn't and then i tried installing cygwin and then tried installing gem, but still no luck,

Anyone successful in installing this in windows? I can even try the hard methods also (if there're any possible solutions)


回答1:


I used therubyracer_for_windows. It works for me.




回答2:


If you need a JS runtime for asset compilation (and other tasks), on Windows it's perfectly safe to simply omit the gem in your Gemfile.

Windows already has a JS runtime, and as far as I am aware, Rails makes use of it when it detects it.

Have a look at the description here, I think you will find it informative.

https://github.com/sstephenson/execjs



来源:https://stackoverflow.com/questions/12181526/is-there-a-way-of-installing-therubyracer-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!