{"action":"created","issue":{"url":"https://api.github.com/repos/parasew/instiki/issues/54","repository_url":"https://api.github.com/repos/parasew/instiki","labels_url":"https://api.github.com/repos/parasew/instiki/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/parasew/instiki/issues/54/comments","events_url":"https://api.github.com/repos/parasew/instiki/issues/54/events","html_url":"https://github.com/parasew/instiki/issues/54","id":334927323,"node_id":"MDU6SXNzdWUzMzQ5MjczMjM=","number":54,"title":"Ruby 2.5 Compatibility","user":{"login":"konradvoelkel","id":1606065,"node_id":"MDQ6VXNlcjE2MDYwNjU=","avatar_url":"https://avatars2.githubusercontent.com/u/1606065?v=4","gravatar_id":"","url":"https://api.github.com/users/konradvoelkel","html_url":"https://github.com/konradvoelkel","followers_url":"https://api.github.com/users/konradvoelkel/followers","following_url":"https://api.github.com/users/konradvoelkel/following{/other_user}","gists_url":"https://api.github.com/users/konradvoelkel/gists{/gist_id}","starred_url":"https://api.github.com/users/konradvoelkel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konradvoelkel/subscriptions","organizations_url":"https://api.github.com/users/konradvoelkel/orgs","repos_url":"https://api.github.com/users/konradvoelkel/repos","events_url":"https://api.github.com/users/konradvoelkel/events{/privacy}","received_events_url":"https://api.github.com/users/konradvoelkel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-22T15:44:16Z","updated_at":"2018-06-22T16:05:15Z","closed_at":null,"author_association":"NONE","body":"Rather naively I updated to the current Ubuntu LTS 18.04, but this broke Instiki.\r\nRuby 2.3 was unavailable from default repositories, so I investigated getting it to run under 2.5.\r\nIt does install without warnings, but when you run \"instiki\" it throws\r\n\r\ninstiki/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb:16:in `block in included': undefined method `yaml_as' for BigDecimal:Class (NoMethodError)\r\n\r\nwhich is no wonder, as yaml_as is long deprecated and should be yaml_tag as of Ruby 2.5. The problem is: If I change just this occurence of yaml_as to yaml_tag, I get instead this error:\r\n\r\ninstiki/vendor/rails/activesupport/lib/active_support/inflector.rb:3:in `require': cannot load such file -- iconv (LoadError)\r\n\r\nThe file at\r\nhttps://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/big_decimal/conversions.rb\r\nlooks rather different (no yaml_as or yaml_tag), so I don't know how to proceed.\r\n\r\nIn this commit the line with yaml_as is simply removed:\r\nhttps://github.com/rails/rails/commit/452dba72f5bac3118a3405408665ae372ebbe6a1#diff-c6f87b8b0f89054619bb646c9387318c\r\nBut it doesn't change the next error message for me if I do this.\r\n\r\nSadly, I don't know any Ruby or Rails, so I can not fix this. Since this kind of problem has appeared in other projects, I would guess that simply updating Rails or the activesupport thing could make this work... but I also don't know how to do that.\r\n\r\nIf there is an easy way to get Instiki to run on Ruby 2.5 I would be very happy. It seems that this should be a somewhat long-term goal anyway, if Instiki is supposed to live longer...\r\n\r\nIn the meantime I will have to investigate installing Ruby 2.3 on Ubuntu 18.04 :-("},"comment":{"url":"https://api.github.com/repos/parasew/instiki/issues/comments/399493876","html_url":"https://github.com/parasew/instiki/issues/54#issuecomment-399493876","issue_url":"https://api.github.com/repos/parasew/instiki/issues/54","id":399493876,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTQ5Mzg3Ng==","user":{"login":"distler","id":51814,"node_id":"MDQ6VXNlcjUxODE0","avatar_url":"https://avatars1.githubusercontent.com/u/51814?v=4","gravatar_id":"","url":"https://api.github.com/users/distler","html_url":"https://github.com/distler","followers_url":"https://api.github.com/users/distler/followers","following_url":"https://api.github.com/users/distler/following{/other_user}","gists_url":"https://api.github.com/users/distler/gists{/gist_id}","starred_url":"https://api.github.com/users/distler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/distler/subscriptions","organizations_url":"https://api.github.com/users/distler/orgs","repos_url":"https://api.github.com/users/distler/repos","events_url":"https://api.github.com/users/distler/events{/privacy}","received_events_url":"https://api.github.com/users/distler/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T16:05:15Z","updated_at":"2018-06-22T16:05:15Z","author_association":"COLLABORATOR","body":"Thanks for the report. I will have to explore compatibility with Ruby 2.5.\r\n\r\nInstiki does run fine under Ruby 2.4. "}}
{"actor":{"display_login":"distler"}}