Skip to content

JRuby10 inline bundler error #8712

@jimtng

Description

@jimtng

I've just tried jruby10 snapshot

I got this error:

Error installing Gems
org.jruby.exceptions.SystemCallError: (ENOENT) No such file or directory - uri:classloader:/META-INF/jruby.home/lib/ruby/gems/shared/bundler.lock
        at org.jruby.RubyIO.sysopen(org/jruby/RubyIO.java:1361) ~[?:?]
        at org.jruby.RubyFile.initialize(org/jruby/RubyFile.java:321) ~[?:?]
        at org.jruby.RubyClass.new(org/jruby/RubyClass.java:1054) ~[?:?]
        at org.jruby.RubyIO.open(org/jruby/RubyIO.java:1286) ~[?:?]
        at RUBY.open_file_with_flock(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:816) ~[?:?]
        at RUBY.open_file_with_lock(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems.rb:802) ~[?:?]
        at RUBY.lock(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/process_lock.rb:13) ~[?:?]
        at RUBY.filesystem_access(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/shared_helpers.rb:105) ~[?:?]
        at RUBY.lock(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/process_lock.rb:12) ~[?:?]
        at RUBY.run(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/installer.rb:71) ~[?:?]
        at RUBY.install(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/installer.rb:23) ~[?:?]
        at RUBY.gemfile(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/inline.rb:64) ~[?:?]
        at RUBY.temporary(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/settings.rb:159) ~[?:?]
        at RUBY.gemfile(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/inline.rb:63) ~[?:?]
        at RUBY.temporary(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/settings.rb:159) ~[?:?]
        at RUBY.gemfile(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/bundler/inline.rb:58) ~[?:?]
        at RUBY.<main>(<script>:6) ~[?:?]

We're using inline bundler

require 'bundler/inline'
require 'openssl'

gemfile(true) do
  source 'https://rubygems.org/'
  gem "xxx"
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions