I'm trying to install Puppet-Dashboard onto an SLES12 box (Ruby 2.1 :-/ ). Seams like ExecJS isn't able to find a valid JS Runtime. Should the JS Runtime be provided through the OS?
puppet-dashboard@Puppetmaster:/srv/www/htdocs/puppet-dashboard> echo "secret_token: '$(bundle.ruby2.1 exec rake secret)'" >> config/settings.yml
rake aborted!
Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes.
/srv/www/htdocs/puppet-dashboard/vendor/bundle/ruby/2.1.0/gems/execjs-2.0.2/lib/execjs /runtimes.rb:51:in `autodetect'
/srv/www/htdocs/puppet-dashboard/vendor/bundle/ruby/2.1.0/gems/execjs-2.0.2/lib/execjs.rb:5:in `<module:ExecJS>'
/srv/www/htdocs/puppet-dashboard/vendor/bundle/ruby/2.1.0/gems/execjs-2.0.2/lib/execjs.rb:4:in `<top (required)>'
/srv/www/htdocs/puppet-dashboard/vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
/srv/www/htdocs/puppet-dashboard/vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `block in require'
/srv/www/htdocs/puppet-dashboard/vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:236:in `load_dependency'
/srv/www/htdocs/puppet-dashboard/vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.18/lib/active_support/dependencies.rb:251:in `require'
/srv/www/htdocs/puppet-dashboard/vendor/bundle/ruby/2.1.0/gems/uglifier-1.3.0/lib/uglifier.rb:3:in `<top (required)>'
/srv/www/htdocs/puppet-dashboard/config/application.rb:7:in `<top (required)>'
/srv/www/htdocs/puppet-dashboard/Rakefile:62:in `require'
/srv/www/htdocs/puppet-dashboard/Rakefile:62:in `<top (required)>'
I'm trying to install Puppet-Dashboard onto an SLES12 box (Ruby 2.1 :-/ ). Seams like ExecJS isn't able to find a valid JS Runtime. Should the JS Runtime be provided through the OS?