Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Failed to build gem native extension. #8

Open
gayanhewa opened this issue Feb 12, 2019 · 1 comment · May be fixed by #21
Open

ERROR: Failed to build gem native extension. #8

gayanhewa opened this issue Feb 12, 2019 · 1 comment · May be fixed by #21

Comments

@gayanhewa
Copy link

I am getting the following build error, when building the docker image. Any idea why?

Building native extensions.  This could take a while...
ERROR:  Error installing gauntlt:
	ERROR: Failed to build gem native extension.

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

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

rake failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.3.0/gems/childprocess-1.0.1 for inspection.
Results logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/childprocess-1.0.1/gem_make.out
The command '/bin/sh -c gem install gauntlt --no-rdoc --no-ri' returned a non-zero code: 1
make: *** [build] Error 1
@gayanhewa
Copy link
Author

I had issues building gauntlt/gauntlt-docker but I was able to pull in gauntlt/gauntlt and working with that image, unsure of the difference between the two.

# This worked fine.
docker run -t --rm=true -v $(PWD):/working -w /working gauntlt/gauntlt ./sqli/form.attack

@aorestr aorestr linked a pull request Nov 1, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant