{"action":"created","issue":{"url":"https://api.github.com/repos/cantino/huginn/issues/837","labels_url":"https://api.github.com/repos/cantino/huginn/issues/837/labels{/name}","comments_url":"https://api.github.com/repos/cantino/huginn/issues/837/comments","events_url":"https://api.github.com/repos/cantino/huginn/issues/837/events","html_url":"https://github.com/cantino/huginn/issues/837","id":85273590,"number":837,"title":"icon.rake width:nil under huginn_development chef role, works fine under huginn_production","user":{"login":"elijah","id":43155,"avatar_url":"https://avatars.githubusercontent.com/u/43155?v=3","gravatar_id":"","url":"https://api.github.com/users/elijah","html_url":"https://github.com/elijah","followers_url":"https://api.github.com/users/elijah/followers","following_url":"https://api.github.com/users/elijah/following{/other_user}","gists_url":"https://api.github.com/users/elijah/gists{/gist_id}","starred_url":"https://api.github.com/users/elijah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elijah/subscriptions","organizations_url":"https://api.github.com/users/elijah/orgs","repos_url":"https://api.github.com/users/elijah/repos","events_url":"https://api.github.com/users/elijah/events{/privacy}","received_events_url":"https://api.github.com/users/elijah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-04T20:55:51Z","updated_at":"2015-06-04T22:31:08Z","closed_at":null,"body":"So I got this explosion when running vagrant up with the huginn_development role set - meaning that i got the huginn_development chef cookbook from site-cookbooks:\r\n\r\n{code}\r\nSyntaxError: /home/huginn/huginn/lib/tasks/icon.rake:72: syntax error, unexpected tLABEL\r\ndef convert_image(source, target, width: nil, round: false)\r\n                                        ^\r\n/home/huginn/huginn/lib/tasks/icon.rake:72: Can't assign to nil\r\ndef convert_image(source, target, width: nil, round: false)\r\n                                             ^{code}\r\n\r\nThe same thing works fine when using the huginn_production role.  \r\n\r\nI haven't quite figured out what's going on here -- it looks like the ruby convert_image function found in the rakefile expects 'real values' instead of width:nil -- which, for iOS and android, seem to be set already.\r\n\r\nI haven't quite figured out what's different in the environment yet - looking at the two cookbooks, what's in the default recipe for starting up the production version seems to be a bit more fleshed out than what's in the \"development\" cookbook's recipe.\r\n\r\nBefore I start digging in and thinking about rewriting the 'development' recipe to look a lot more like production - can someone confirm that this is just small breakage, and that the icon.rake stuff actually currently works as intended in someone else's \"real\" deployment?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cantino/huginn/issues/comments/109073065","html_url":"https://github.com/cantino/huginn/issues/837#issuecomment-109073065","issue_url":"https://api.github.com/repos/cantino/huginn/issues/837","id":109073065,"user":{"login":"knu","id":10236,"avatar_url":"https://avatars.githubusercontent.com/u/10236?v=3","gravatar_id":"","url":"https://api.github.com/users/knu","html_url":"https://github.com/knu","followers_url":"https://api.github.com/users/knu/followers","following_url":"https://api.github.com/users/knu/following{/other_user}","gists_url":"https://api.github.com/users/knu/gists{/gist_id}","starred_url":"https://api.github.com/users/knu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knu/subscriptions","organizations_url":"https://api.github.com/users/knu/orgs","repos_url":"https://api.github.com/users/knu/repos","events_url":"https://api.github.com/users/knu/events{/privacy}","received_events_url":"https://api.github.com/users/knu/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T22:31:08Z","updated_at":"2015-06-04T22:31:08Z","body":"b737a77 may have fixed this, assuming you are using Ruby 1.9.  Could you run git pull and see if it fixes the problem?"}}