# Failed to build childprocess 1.0.1

**URL:** <https://discuss.dradis.com/t/failed-to-build-childprocess-1-0-1/692>\
**Category:** Community Edition\
**Created:** [September 28, 2019, 4:39pm UTC](https://discuss.dradis.com/t/failed-to-build-childprocess-1-0-1/692 "2019-09-28T16:39:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fujiyama17](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/fujiyama17/32/183_2.png) [@fujiyama17](https://discuss.dradis.com/u/fujiyama17)\
**Post date:** [September 28, 2019, 4:39pm UTC](https://discuss.dradis.com/t/failed-to-build-childprocess-1-0-1/692/1 "2019-09-28T16:39:19Z")

</div>

I really tried to figure this out before posting, but alas, here I am. I am trying to install Dradis on Kali, and running into the following issue:

```
Fetching childprocess 1.0.1
Installing childprocess 1.0.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/childprocess-1.0.1/ext
/usr/bin/ruby2.5 mkrf_conf.rb

current directory: /var/lib/gems/2.5.0/gems/childprocess-1.0.1/ext
/usr/bin/ruby2.5 -rrubygems /usr/share/rubygems-integration/all/gems/rake-12.3.3/exe/rake
RUBYARCHDIR=/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/childprocess-1.0.1
RUBYLIBDIR=/var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/childprocess-1.0.1
/usr/bin/ruby2.5: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake-12.3.3/exe/rake (LoadError)

rake failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.5.0/gems/childprocess-1.0.1 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/childprocess-1.0.1/gem_make.out

An error occurred while installing childprocess (1.0.1), and Bundler cannot continue.
Make sure that `gem install childprocess -v '1.0.1' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  webdrivers was resolved to 4.1.1, which depends on
    selenium-webdriver was resolved to 3.142.3, which depends on
      childprocess

== Command ["bundle install"] failed ==

```

I installed all the dependencies, so I thought. Any suggestions/help?

Thank you very much.

---

<div class="post-metadata">

**Author:** ![rachkor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/rachkor/32/51_2.png) [@rachkor](https://discuss.dradis.com/u/rachkor)\
**Post date:** [October 4, 2019, 8:45pm UTC](https://discuss.dradis.com/t/failed-to-build-childprocess-1-0-1/692/2 "2019-10-04T20:45:19Z")

</div>

@fujiyama17 are you using these installation instructions? [Installing Dradis on Kali Linux | Dradis Framework](https://dradis.com/ce/documentation/install_kali.html) If so, can you confirm what commit your instance is on? This should do the trick:  
`git log | head -n 1`

---

<div class="post-metadata">

**Author:** ![jlacoss](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@jlacoss](https://discuss.dradis.com/u/jlacoss)\
**Post date:** [October 9, 2019, 3:58am UTC](https://discuss.dradis.com/t/failed-to-build-childprocess-1-0-1/692/3 "2019-10-09T03:58:40Z")

</div>

That is the guide I was using, and I received exactly the same error. This is on a freshly built Kali box. The commit I’m showing is: 767c36d1dfc5abbf46e4b488b1de8e2a591f485e.

---

<div class="post-metadata">

**Author:** ![alexrf11](https://avatars.discourse-cdn.com/v4/letter/a/9f8e36/32.png) [@alexrf11](https://discuss.dradis.com/u/alexrf11)\
**Post date:** [October 9, 2019, 4:06pm UTC](https://discuss.dradis.com/t/failed-to-build-childprocess-1-0-1/692/4 "2019-10-09T16:06:39Z")

</div>

I had a similar issue @fujiyama17 @jlacoss , Looks like I was missing rake from being installed. I ran `gem install rake` then reran in the install script and it appeared to work

---

<div class="post-metadata">

**Author:** ![rachkor](https://yyz1.discourse-cdn.com/flex035/user_avatar/discuss.dradis.com/rachkor/32/51_2.png) [@rachkor](https://discuss.dradis.com/u/rachkor)\
**Post date:** [October 9, 2019, 4:26pm UTC](https://discuss.dradis.com/t/failed-to-build-childprocess-1-0-1/692/5 "2019-10-09T16:26:14Z")

</div>

Thanks @alexrf11! @jlacoss can you give that a try?

---

<div class="post-metadata">

**Author:** ![jlacoss](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@jlacoss](https://discuss.dradis.com/u/jlacoss)\
**Post date:** [October 10, 2019, 1:10am UTC](https://discuss.dradis.com/t/failed-to-build-childprocess-1-0-1/692/6 "2019-10-10T01:10:47Z")

</div>

It looks like that was the magic ticket! Thank you @rachkor and @alexrf11 !!

---

<div class="post-metadata">

**Author:** ![badleman](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@badleman](https://discuss.dradis.com/u/badleman)\
**Post date:** [October 15, 2019, 12:56pm UTC](https://discuss.dradis.com/t/failed-to-build-childprocess-1-0-1/692/7 "2019-10-15T12:56:26Z")

</div>

Same problem and rake install fixed it.
