-
Notifications
You must be signed in to change notification settings - Fork 46
runtimes.rb: autodetect Could not find a JavaScript runtime #154
Comments
This seemed to work for me: what I did is that I saw that it was asking for some execjs stuff so I ran the command execjs: 2.2.1 (I feel bad that it took this long for you to get an answer) |
Thanks for the tip, but this will not work on non-Intel platforms because On Sun, Aug 17, 2014 at 2:44 PM, Nicolás A. Ortega <notifications@github.com
Mehul N. Sanghvi |
Install therubyracer? therubyrhino is for jruby. |
I did install therubyracer and still had no luck with it. At the moment I have stepped away from using |
I have the same issue on OpenBSD 5.6. I have tried different options. I tried to intall libv8 with
Then I tried to install therubyracer through package.
After I installed therubyracer the simple example works fine in
But I still get this error when I try to start rails (3.2.21) server. rails server I also tried to force runtime selection to ruby_racer and try to make sure that
So it seems that something works but execjs still choke on start. UPDATE: This seems to work with Node runtime on OpenBSD.
So node runtime works. Still strange that I didn't get |
The v8 is issue on non-Intel platforms. Hence Fedora's ARM guys suggest to use WebKit's JavaScriptCore on ARM, provided by webkitgtk4-devel package. Unfortunately, the path [1] is hardcoded and Mac specific. Is there some way around? [1] https://github.com/sstephenson/execjs/blob/master/lib/execjs/runtimes.rb#L30 |
Add "gem 'therubyracer'" on Gemfile works for me... |
@welligton1993 adding that to the gemfile then using |
@Red-Nova Exactly... Fist add "gem 'therubyracer' to Gemfile and after execute bundle install |
execjs: 2.2.1 Reproduced using this tutorial code https://github.com/gotealeaf/bootstrap-todo-app |
This repository has been deprecated and has moved to https://github.com/rails/execjs. |
installing therubyracer gem worked for me |
nano Gemfile Works great 👍 |
execjs: 2.2.1
ruby: 2.1.0
OS: Debian/testing on PowerPC
I am trying to use Jekyll (http://www.jekylrb.com) and I get the following error when I do
anything with it:
The text was updated successfully, but these errors were encountered: