{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3059","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3059/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3059/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3059/events","html_url":"https://github.com/ManageIQ/manageiq/pull/3059","id":85125594,"number":3059,"title":"Towards JRuby support","user":{"login":"djberg96","id":78529,"avatar_url":"https://avatars.githubusercontent.com/u/78529?v=3","gravatar_id":"","url":"https://api.github.com/users/djberg96","html_url":"https://github.com/djberg96","followers_url":"https://api.github.com/users/djberg96/followers","following_url":"https://api.github.com/users/djberg96/following{/other_user}","gists_url":"https://api.github.com/users/djberg96/gists{/gist_id}","starred_url":"https://api.github.com/users/djberg96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djberg96/subscriptions","organizations_url":"https://api.github.com/users/djberg96/orgs","repos_url":"https://api.github.com/users/djberg96/repos","events_url":"https://api.github.com/users/djberg96/events{/privacy}","received_events_url":"https://api.github.com/users/djberg96/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-04T14:36:57Z","updated_at":"2015-06-04T19:41:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/3059","html_url":"https://github.com/ManageIQ/manageiq/pull/3059","diff_url":"https://github.com/ManageIQ/manageiq/pull/3059.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/3059.patch"},"body":"This patch is a step towards JRuby support. Mostly this means the following Gemfile modifications:\r\n\r\n* Don't bundle psych (JRuby has it's own version)\r\n* Use puma instead of thin\r\n* Use jruby-prof instead of ruby-prof (dev)\r\n* Use activerecord-jdbcpostgresql-adapter instead of pg\r\n\r\nThere's also a problem with using the Platform gem because it uses RUBY_PLATFORM under the hood instead of RbConfig. JRuby treats the platform as \"java\", not the operating system, so it doesn't work. For now I'm leveraging FFI::Platform instead since that's already in the Gemfile as a dependency, but I could easily replace it with RbConfig instead if necessary.\r\n\r\nDoes the app work then? Eh, I can't get past \"bundle exec rake evm:db:reset\" at the moment because it runs out of heap space, but I thought this would be a worthwhile first step."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/109025079","html_url":"https://github.com/ManageIQ/manageiq/pull/3059#issuecomment-109025079","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/3059","id":109025079,"user":{"login":"Fryguy","id":52120,"avatar_url":"https://avatars.githubusercontent.com/u/52120?v=3","gravatar_id":"","url":"https://api.github.com/users/Fryguy","html_url":"https://github.com/Fryguy","followers_url":"https://api.github.com/users/Fryguy/followers","following_url":"https://api.github.com/users/Fryguy/following{/other_user}","gists_url":"https://api.github.com/users/Fryguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Fryguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fryguy/subscriptions","organizations_url":"https://api.github.com/users/Fryguy/orgs","repos_url":"https://api.github.com/users/Fryguy/repos","events_url":"https://api.github.com/users/Fryguy/events{/privacy}","received_events_url":"https://api.github.com/users/Fryguy/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T19:41:27Z","updated_at":"2015-06-04T19:41:27Z","body":"Please rebase now that master has been fixed."}}