{"action":"opened","issue":{"url":"https://api.github.com/repos/michenriksen/gitrob/issues/4","labels_url":"https://api.github.com/repos/michenriksen/gitrob/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/michenriksen/gitrob/issues/4/comments","events_url":"https://api.github.com/repos/michenriksen/gitrob/issues/4/events","html_url":"https://github.com/michenriksen/gitrob/issues/4","id":54281759,"number":4,"title":"Does not run w/ Ruby 2.2.0","user":{"login":"jfalken","id":5685291,"avatar_url":"https://avatars.githubusercontent.com/u/5685291?v=3","gravatar_id":"","url":"https://api.github.com/users/jfalken","html_url":"https://github.com/jfalken","followers_url":"https://api.github.com/users/jfalken/followers","following_url":"https://api.github.com/users/jfalken/following{/other_user}","gists_url":"https://api.github.com/users/jfalken/gists{/gist_id}","starred_url":"https://api.github.com/users/jfalken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfalken/subscriptions","organizations_url":"https://api.github.com/users/jfalken/orgs","repos_url":"https://api.github.com/users/jfalken/repos","events_url":"https://api.github.com/users/jfalken/events{/privacy}","received_events_url":"https://api.github.com/users/jfalken/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-14T04:02:19Z","updated_at":"2015-01-14T04:02:19Z","closed_at":null,"body":"\r\nCannot run with ruby 2.2.0. You get the following error:\r\n\r\n```\r\n [*] Starting Gitrob version 0.0.2 at 2015-01-14 03:12 UTC\r\n [*] Loading configuration... done\r\n [*] Preparing SQL database...ruby /home/ubuntu/.rvm/gems/ruby-2.2.0/bin/gitrob: symbol lookup error: /home/ubuntu/.rvm/gems/ruby-2.2.0/extensions/x86_64-linux/2.2.0/do_postgres-0.10.14/do_postgres/do_postgres.so: undefined symbol: rb_thread_select\r\n```\r\n\r\n`do_postgres` uses `rb_thread_select` which has been deprecated for a while and was removed from the trunk in v2.2.0. Using 2.1.0 via RVM is a workaround.\r\n\r\nsee: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/CAPI_obsolete_definitions and https://github.com/datamapper/do/issues/74\r\n\r\nWork around for others:\r\n\r\n1. install RVM\r\n2. `rvm install 2.1.0` this will take time\r\n3. `rvm use 2.1.0`\r\n4. `gem install gitrob` ... etc"}}