{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/3024","labels_url":"https://api.github.com/repos/jruby/jruby/issues/3024/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/3024/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/3024/events","html_url":"https://github.com/jruby/jruby/issues/3024","id":85735826,"number":3024,"title":"JRuby 1.7.20 error when requiring krypt/ossl","user":{"login":"tbeauvais","id":121275,"avatar_url":"https://avatars.githubusercontent.com/u/121275?v=3","gravatar_id":"","url":"https://api.github.com/users/tbeauvais","html_url":"https://github.com/tbeauvais","followers_url":"https://api.github.com/users/tbeauvais/followers","following_url":"https://api.github.com/users/tbeauvais/following{/other_user}","gists_url":"https://api.github.com/users/tbeauvais/gists{/gist_id}","starred_url":"https://api.github.com/users/tbeauvais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbeauvais/subscriptions","organizations_url":"https://api.github.com/users/tbeauvais/orgs","repos_url":"https://api.github.com/users/tbeauvais/repos","events_url":"https://api.github.com/users/tbeauvais/events{/privacy}","received_events_url":"https://api.github.com/users/tbeauvais/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-06T10:54:22Z","updated_at":"2015-06-14T08:40:53Z","closed_at":"2015-06-14T08:40:53Z","body":"After switching to JRuby 1.7.20 one of our internal gems is failing because it does a require 'krypt/ossl'. I'm assuming it's not needed anymore since JRuby 1.7.20 bundles jruby-openssl 0.9.6, but it is a breaking change since this gem supports older version of JRuby."},"comment":{"url":"https://api.github.com/repos/jruby/jruby/issues/comments/111800476","html_url":"https://github.com/jruby/jruby/issues/3024#issuecomment-111800476","issue_url":"https://api.github.com/repos/jruby/jruby/issues/3024","id":111800476,"user":{"login":"kares","id":45967,"avatar_url":"https://avatars.githubusercontent.com/u/45967?v=3","gravatar_id":"","url":"https://api.github.com/users/kares","html_url":"https://github.com/kares","followers_url":"https://api.github.com/users/kares/followers","following_url":"https://api.github.com/users/kares/following{/other_user}","gists_url":"https://api.github.com/users/kares/gists{/gist_id}","starred_url":"https://api.github.com/users/kares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kares/subscriptions","organizations_url":"https://api.github.com/users/kares/orgs","repos_url":"https://api.github.com/users/kares/repos","events_url":"https://api.github.com/users/kares/events{/privacy}","received_events_url":"https://api.github.com/users/kares/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T08:40:53Z","updated_at":"2015-06-14T08:40:53Z","body":"as @mkristian already suggested, krypt was really an \"internal\" gem to get PKCS5 support in OpenSSL\r\n\r\n... thus we ended up having a lot of krypt code just to \"emulate\" 2 methods - we can not avoid users requiring files from default gems but best practice is to never assume any `require` outside the stdlib to work and have a gem dependency instead (what if a newer bundled krypt did not work with your internal gems - you would need to adjust the gem anyway for newer JRuby 1.7.x). "}}