Top "Execjs" questions

ExecJS lets you run JavaScript code from Ruby.

ExecJS and could not find a JavaScript runtime

I'm trying to use the Mongoid / Devise Rails 3.1 template (Mongoid and Devise), and I keep getting an error stating ExecJS …

ruby-on-rails-3.1 execjs javascript
execJs: 'Could not find a JavaScript runtime' but execjs AND therubyracer are in Gemfile

I'm getting this error: rake aborted! Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs, I have …

ruby-on-rails ruby-on-rails-3.1 ruby-on-rails-plugins execjs
Rails ExecJS::ProgramError in Pages#home?

Starting a new app, when I create a controller page home and try to go to local host:3000/pages/home, …

ruby-on-rails windows turbolinks execjs
ExecJS::ProgramError: Unexpected token punc «(», expected punc «:» when running rake assets:precompile on production

When deploying my Rails app I get the following error: rake aborted! ExecJS::ProgramError: Unexpected token punc «(», expected punc «:» (line: 15, …

javascript ruby-on-rails git deployment execjs
TypeError: Object doesn't support this property or method

I have created rails application where I created a database (empty). When I try to view my products page, I …

ruby-on-rails ruby therubyracer execjs
How do I force execjs to use Node.js?

I have a rails app, and I want to force execjs to user Node.js as the javascript runtime. How …

ruby-on-rails ruby-on-rails-3 execjs
Current ExecJS runtime does't support ES6

rake assets:precompile for my rails project throws below error: rake aborted! Current ExecJS runtime does't support ES6. Please install …

ruby-on-rails node.js ruby-on-rails-5 rake execjs
ExecJS::RuntimeUnavailable in Rails 4.1.4

UPDATE : Things are now working ! Thanks to deep, I installed node.js then got a TZInfo::DataSourceNotFound error wich got …

javascript ruby-on-rails ruby windows execjs
Node.js not found by Rails / execjs

I have node.js installed by compiling and installing it from the root user. I think this maybe where the …

ruby-on-rails ruby node.js centos execjs
How can I invoke Ruby from Node.js?

There are several ways for running JavaScript inside of a Ruby script. For example, there is ExecJS which is frequently …

javascript ruby node.js execjs