{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/3409","labels_url":"https://api.github.com/repos/jruby/jruby/issues/3409/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/3409/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/3409/events","html_url":"https://github.com/jruby/jruby/issues/3409","id":112789181,"number":3409,"title":"NotImplementedError: flock unsupported or native support failed to load","user":{"login":"akkie","id":307006,"avatar_url":"https://avatars.githubusercontent.com/u/307006?v=3","gravatar_id":"","url":"https://api.github.com/users/akkie","html_url":"https://github.com/akkie","followers_url":"https://api.github.com/users/akkie/followers","following_url":"https://api.github.com/users/akkie/following{/other_user}","gists_url":"https://api.github.com/users/akkie/gists{/gist_id}","starred_url":"https://api.github.com/users/akkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akkie/subscriptions","organizations_url":"https://api.github.com/users/akkie/orgs","repos_url":"https://api.github.com/users/akkie/repos","events_url":"https://api.github.com/users/akkie/events{/privacy}","received_events_url":"https://api.github.com/users/akkie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-22T12:05:31Z","updated_at":"2015-10-22T16:42:06Z","closed_at":null,"body":"I get the following exception if I try to install bundler with JRuby 9.0.3.0 on Ubuntu 14.04:\r\n\r\n```\r\n$ gem install bundler\r\nNotImplementedError: flock unsupported or native support failed to load\r\n                   flock at org/jruby/RubyFile.java:304\r\n    block in read_binary at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems.rb:773\r\n                    open at org/jruby/RubyIO.java:1125\r\n                    open at org/jruby/RubyKernel.java:310\r\n             read_binary at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems.rb:772\r\n              fetch_spec at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/source.rb:145\r\n                    spec at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/resolver/api_specification.rb:76\r\n      add_always_install at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/resolver/installer_set.rb:77\r\n    resolve_dependencies at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/dependency_installer.rb:473\r\n             install_gem at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/commands/install_command.rb:238\r\n   block in install_gems at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/commands/install_command.rb:299\r\n                    each at org/jruby/RubyArray.java:1560\r\n            install_gems at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/commands/install_command.rb:295\r\n                 execute at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/commands/install_command.rb:202\r\n  invoke_with_build_args at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/command.rb:307\r\n            process_args at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/command_manager.rb:168\r\n                     run at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/command_manager.rb:138\r\n                     run at /home/christian/.rvm/rubies/jruby-9.0.3.0/lib/ruby/stdlib/rubygems/gem_runner.rb:54\r\n                   <top> at /home/christian/.rvm/rubies/jruby-9.0.3.0/bin/jgem:21\r\n                    load at org/jruby/RubyKernel.java:957\r\n                   <top> at /home/christian/.rvm/rubies/jruby-9.0.3.0/bin/gem:1\r\n```"},"comment":{"url":"https://api.github.com/repos/jruby/jruby/issues/comments/150283874","html_url":"https://github.com/jruby/jruby/issues/3409#issuecomment-150283874","issue_url":"https://api.github.com/repos/jruby/jruby/issues/3409","id":150283874,"user":{"login":"mkristian","id":35058,"avatar_url":"https://avatars.githubusercontent.com/u/35058?v=3","gravatar_id":"","url":"https://api.github.com/users/mkristian","html_url":"https://github.com/mkristian","followers_url":"https://api.github.com/users/mkristian/followers","following_url":"https://api.github.com/users/mkristian/following{/other_user}","gists_url":"https://api.github.com/users/mkristian/gists{/gist_id}","starred_url":"https://api.github.com/users/mkristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkristian/subscriptions","organizations_url":"https://api.github.com/users/mkristian/orgs","repos_url":"https://api.github.com/users/mkristian/repos","events_url":"https://api.github.com/users/mkristian/events{/privacy}","received_events_url":"https://api.github.com/users/mkristian/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T16:42:06Z","updated_at":"2015-10-22T16:42:06Z","body":"I can reproduce it on my linux box with having mutliarch enabled since I\nneeded some 32bit only libraries. then the new search for finding the lib\npicks the wrong one.\n"}}