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

JRuby-9 fresh install fails gem executable-hooks "make not found" #4058

Closed
pjfitzgibbons opened this issue Jun 8, 2017 · 6 comments
Closed

Comments

@pjfitzgibbons
Copy link

Description

Error logged on jruby install:

jruby-9.1.10.0 - #importing gemset /usr/local/rvm/gemsets/jruby/global.gems....................
Error running 'gemset_import_list jruby-openssl jruby-launcher gem-wrappers rubygems-bundler rake rvm',
showing last 15 lines of /usr/local/rvm/log/1496934910_jruby-9.1.10.0/gemsets.import.global.log
current directory: /usr/local/rvm/rubies/jruby-9.1.10.0/lib/ruby/gems/shared/gems/executable-hooks-1.3.2/ext/wrapper_installer
make "DESTDIR=" clean
sh: 1: make: not found

Steps to reproduce

Install RVM on fresh Docker image openjdk:latest (8u131-jdk)
$ rvm install jruby-9.1.10.0

Expected behavior

Successful install of ruby gem "executable-hooks"

Actual behavior

Above

Environment info

https://gist.github.com/pjfitzgibbons/6c86b8221ee7782363418c9f016781e4

@pkuczynski
Copy link
Member

Could you please also gist /usr/local/rvm/log/1496934910_jruby-9.1.10.0/gemsets.import.global.log and show me what make --version shows?

Am I correct that you are using Alpine Linux v3.5? We did not have the support for it yet, so I would have to add it...

Note to myself:

@pkuczynski pkuczynski self-assigned this Jun 11, 2017
@pkuczynski pkuczynski added this to the rvm-1.30.0 milestone Jun 11, 2017
@pjfitzgibbons
Copy link
Author

HI @pkuczynski
Here is another gist, this time on the current ubuntu docker image (16.04 I believe).
The gemsets.import.global.log and the bash session are included in the gist.

https://gist.github.com/pjfitzgibbons/79c64b099407db41500a82cd2de8d47a

@mpapis
Copy link
Member

mpapis commented Sep 17, 2017

Looks like make is required for jruby installation, I think we will need to update the requirements for all systems to include make.

@pkuczynski pkuczynski modified the milestones: rvm-1.29.2, rvm-1.29.4 Sep 19, 2017
@pkuczynski pkuczynski changed the title Jruby-9 fresh install fails gem executable-hooks "make not found" JRuby-9 fresh install fails gem executable-hooks "make not found" Sep 19, 2017
@pkuczynski
Copy link
Member

pkuczynski commented Sep 19, 2017

Indeed it seems that on those docker images you are missing make! I will create a PR which list make as the requirement for all OS for jruby

@pkuczynski
Copy link
Member

@pjfitzgibbons could you try again after rvm get branch /bugfix/jruby-require-make?

@pkuczynski
Copy link
Member

@pjfitzgibbons we merged the changes. You can now try after rvm get master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants