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

while installing jruby getting error #4367

Open
vijayreddy1991 opened this issue Apr 24, 2018 · 1 comment
Open

while installing jruby getting error #4367

vijayreddy1991 opened this issue Apr 24, 2018 · 1 comment

Comments

@vijayreddy1991
Copy link

Description

when i am installing jruby1.7.27 getting below error. I don't why i am very new to ruby

Error running 'gemset_import_list jruby-openssl jruby-launcher gem-wrappers rubygems-bundler rake rvm

@akifateef
Copy link

akifateef commented Jun 19, 2018

I am also facing the same problem,

Error running 'gemset_import_list jruby-openssl jruby-launcher gem-wrappers rubygems-bundler rake rvm',
please read /home/akif/.rvm/log/1529411348_jruby-1.7.13/gemsets.import.global.log

Logs

[2018-06-19 17:44:27] gemset_import_list
gemset_import_list () 
{ 
    case "${rvm_ruby_string}" in 
        *jruby*)
            \command \gem install "$@"
        ;;
        *)
            \typeset line;
            for line in "$@";
            do
                gem_install $line || rvm_error "there was an error installing gem $line";
            done
        ;;
    esac
}
current path: /home/akif/t/g
GEM_HOME=/home/akif/.rvm/gems/jruby-1.7.13@global
PATH=/home/akif/.rvm/gems/jruby-1.7.13@global/bin:/home/akif/.rvm/rubies/jruby-1.7.13/bin:/home/akif/.rvm/bin:/home/akif/.gvm/bin:/home/akif/.nvm/versions/node/v4.4.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/akif/n/bin:/home/akif/bin
GEM_PATH=/home/akif/.rvm/gems/jruby-1.7.13@global
command(7): gemset_import_list jruby-openssl jruby-launcher gem-wrappers rubygems-bundler rake rvm
+ case "${rvm_ruby_string}" in
+ command gem install jruby-openssl jruby-launcher gem-wrappers rubygems-bundler rake rvm
+ gem install jruby-openssl jruby-launcher gem-wrappers rubygems-bundler rake rvm
ERROR:  Error installing jruby-openssl:
	jruby-openssl requires RubyGems version >= 2.4.8. Try 'gem update --system' to update RubyGems itself.
Building native extensions.  This could take a while...
/home/akif/.rvm/rubies/jruby-1.7.13/lib/ruby/shared/rubygems/ext/ext_conf_builder.rb:43 warning: Tempfile#unlink or delete called on open file; ignoring
Successfully installed jruby-launcher-1.1.5-java
Building native extensions.  This could take a while...
/home/akif/.rvm/rubies/jruby-1.7.13/lib/ruby/shared/rubygems/ext/ext_conf_builder.rb:43 warning: Tempfile#unlink or delete called on open file; ignoring
Successfully installed gem-wrappers-1.4.0
Successfully installed bundler-unload-1.0.2
Building native extensions.  This could take a while...
/home/akif/.rvm/rubies/jruby-1.7.13/lib/ruby/shared/rubygems/ext/ext_conf_builder.rb:43 warning: Tempfile#unlink or delete called on open file; ignoring
# In case of problems run the following command to update binstubs:
    gem regenerate_binstubs
Successfully installed executable-hooks-1.4.2
Successfully installed rubygems-bundler-1.4.4
ERROR:  Error installing rake:
	rake requires Ruby version >= 2.0.0.
Successfully installed rvm-1.11.3.9
6 gems installed

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

No branches or pull requests

3 participants
@akifateef @vijayreddy1991 and others