Re: [dradis-devel] Injecting data in through the API
Collaboration and reporting tool for InfoSec teams.
Brought to you by:
etdsoft
From: Daniel M. <et...@no...> - 2013-03-14 09:55:17
|
Hi Robin, > This line should use github.com <http://github.com> instead of etdsoftgit > > git clone git@etdsoftgit:dradis/dradisframework.git dradis3 You're right of course, the trouble of having too many github accounts! > After this you need to change to the dradis3 directory before doing the > checkout. That then means the next cd you do is just to core as you are > already in the dradis3 directory. I've updated the instructions > The rest worked till I tried to create the new instance, that failed > with an error about a missing javascript runtime. Which one do you > recommend and can you install it as part of the rest of the install process? > > You also need to do a bit more checking when creating a new instance as > it doesn't notice that things are failing because of the javascript and > thinks it has completed successfully. I've included the trimmed down > output from the failed install in case it helps you spot how to detect > the failure. Not sure what is going on here, to get past the error `gem install therubyracer` should do the trick. As to why it's failing, need to figure that one out, we're piggybacking on Rails application creation process, so not sure what's going on. I think that Rails defaults to "not force you to install" a JS runtime, and this is causing an error. Maybe we can trigger a check for it and present the user with the option (e.g. some people would rather use NodeJS than therubyracer). And if the user doesn't know what to do, just default to installing 'therubyracer'. HTH, Daniel |