execjs
execjs copied to clipboard
Run JavaScript code from Ruby
This is a new computer and I don't experience this error on my old machine. Trying to hit a page in my app and getting the following runtime error. I...
Hello, at present I see that `therubyracer` runtime is preferred over anything else present on the system. This is not a good idea because it is not thread safe and...
I hope to activate rails server, but it couldn't.... please help me ... i don;t know what i have to do;;;;; /home/ec2-user/.rvm/gems/ruby-2.0.0-p643/gems/execjs-2.6.0/lib/execjs/runtimes.rb:48:in `autodetect': Could not find a JavaScript runtime. See...
The coffee-script github page does not have an issue tracker, so I didn't know where else to post this. With the new coffee-script-source gem 1.12.1, `rake assets:precompile` now fails with...
running `ExecJS.eval "`red yellow blue`.split(' ')"` gives ``` ExecJS::RuntimeError: SyntaxError: Unexpected token ILLEGAL ``` backticks are used template strings in javascript
There is a great gem created by Sony - https://github.com/sony/v8eval. I think, it could be a good idea to use it as a runtime. Any objections/suggestions?
The following code is raising this error: `ExecJS::ProgramError: Unexpected token: name (key)` ``` var key = 'dummy', plugin = {}; plugin.variables = { [key + '1']: "1", [key + 'Ctrl-2']:...
When using NVM having a system node package installed on Debian or Ubuntu, execjs always uses the system node. This is because it looks for the `nodejs` binary first, which...
Hey, wasn't sure where else to ask since I didn't see any contact info. Is there any facilities in this project to call out from javascript into ruby, either via...
Hi, I'm having troubles when deploying to heroku: The line is the following: ``` linearVerticalSynopticCtrl.Bus = class { ``` and creates the following stacktrace: ``` ExecJS::ProgramError: Unexpected token: punc ({)...