P
P
Pe4enie2013-02-12 09:02:21
Ruby on Rails
Pe4enie, 2013-02-12 09:02:21

Gem 'therubyracer' on windows?

RoR came to the community relatively recently, and almost immediately ran into a problem. Gem 'twitter-bootstrap-rails' uses gem 'therubyracer' to compile less scripts, which in turn has a dependency on gem 'libv8'. With the latter, there were problems, it simply does not install. After several hours of active searching, I found out that the problem of this gem on windows has existed for more than a year. Here at this link in the best answer it says that "it is not yet possible to use it on windows". Only here the answer was June 15, 2011. I've already tried a bunch of different "solutions", but so far none have helped.
Ps I use the latest version of ruby/rails and any other gems and windows 7

Answer the question

In order to leave comments, you need to log in

4 answer(s)
K
Kane, 2013-02-12
@Pe4enie

You need to use another js interpreter: github.com/sstephenson/execjs#readme

F
fanat1k, 2015-10-04
@fanat1k

Installed on Windows like this:
gem install libv8 -v '3.16.14.3' -- --with-system-v8

S
Stanislav, 2013-02-12
@crackedmind

I compiled libv8 and therubyracer for Windows a year ago. But it was not possible to use it in rails. In some ruby ​​scripts everything was fine.
If anyone is interested - github.com/crackedmind/therubyracer-win32-precompiled/downloads

V
Vitaly Liber, 2015-06-11
@VitalyLiber

Use Vagrant
https://putshello.wordpress.com/2015/03/03/easy-ra...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question