Hello,
I’m using an Ubuntu machine.
I’ve tried to install Dradis through GitHub’s instructions:
$ git clone GitHub - dradis/dradis-legacy: This is a LEGACY repo head to
$ cd dradisframework/
$ git checkout dradis3_blackhat-arsenal (change for: git checkout master)
$ ruby bin/setup
$ bundle exec rails server
And I get an error:
/home/ubuntu/.rvm/gems/ruby-1.9.3-p551/gems/execjs-2.2.0/lib/execjs/runtimes.rb:51:in `autodetect’: Could not find a JavaScript runtime. See GitHub - sstephenson/execjs: Run JavaScript code from Ruby for a list of available runtimes. (ExecJS::RuntimeUnavailable)
How can I fix that?
Thanks!
Update: I’ve edit Gemfile to uncomment line 61: gem ‘execjs’. Then a bundle install, it worked temporarily. When I need to run “RAILS_ENV=production bundle exec thor dradis:reset” it stop.
Update 2: I’ve edit Gemfile to uncomment line 61 and line 62. It worked