{"action":"created","issue":{"url":"https://api.github.com/repos/fnichol/chef-rvm/issues/193","labels_url":"https://api.github.com/repos/fnichol/chef-rvm/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/fnichol/chef-rvm/issues/193/comments","events_url":"https://api.github.com/repos/fnichol/chef-rvm/issues/193/events","html_url":"https://github.com/fnichol/chef-rvm/issues/193","id":13807390,"number":193,"title":"rvm_ruby fails with undefined method `chomp' for nil:NilClass","user":{"login":"ghost","id":10137,"avatar_url":"https://avatars.githubusercontent.com/u/10137?v=3","gravatar_id":"","url":"https://api.github.com/users/ghost","html_url":"https://github.com/ghost","followers_url":"https://api.github.com/users/ghost/followers","following_url":"https://api.github.com/users/ghost/following{/other_user}","gists_url":"https://api.github.com/users/ghost/gists{/gist_id}","starred_url":"https://api.github.com/users/ghost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghost/subscriptions","organizations_url":"https://api.github.com/users/ghost/orgs","repos_url":"https://api.github.com/users/ghost/repos","events_url":"https://api.github.com/users/ghost/events{/privacy}","received_events_url":"https://api.github.com/users/ghost/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":40,"created_at":"2013-04-30T13:55:49Z","updated_at":"2015-01-06T22:00:09Z","closed_at":null,"body":"<pre>\r\n  * rvm_ruby[1.9.3-p374] action install\r\n================================================================================\r\nError executing action `install` on resource 'rvm_ruby[1.9.3-p374]'\r\n================================================================================\r\n\r\n\r\nNoMethodError\r\n-------------\r\nundefined method `chomp' for nil:NilClass\r\n\r\n\r\nCookbook Trace:\r\n---------------\r\n/var/chef/cache/cookbooks/rvm/libraries/chef_rvm_string_cache.rb:77:in `canonical_ruby_string'\r\n/var/chef/cache/cookbooks/rvm/libraries/chef_rvm_string_cache.rb:50:in `fetch'\r\n/var/chef/cache/cookbooks/rvm/libraries/chef_rvm_string_helpers.rb:55:in `normalize_ruby_string'\r\n/var/chef/cache/cookbooks/rvm/providers/ruby.rb:26:in `load_current_resource'\r\n\r\n\r\nResource Declaration:\r\n---------------------\r\n# In /var/chef/cache/cookbooks/mycookbook/recipes/rvm-test.rb\r\n\r\n 23: rvm_ruby '1.9.3-p374' do\r\n 24:   user 'deploy'\r\n 25: end\r\n 26: \r\n\r\n\r\n\r\nCompiled Resource:\r\n------------------\r\n# Declared in /var/chef/cache/cookbooks/mycookbook/recipes/rvm-test.rb:23:in `from_file'\r\n\r\nrvm_ruby(\"1.9.3-p374\") do\r\n  action :install\r\n  retries 0\r\n  retry_delay 2\r\n  cookbook_name \"mycookbook\"\r\n  recipe_name \"rvm-test\"\r\n  user \"deploy\"\r\n  ruby_string \"1.9.3-p374\"\r\nend\r\n</pre>\r\n\r\nOn a freshly spawned ubuntu-12.10"},"comment":{"url":"https://api.github.com/repos/fnichol/chef-rvm/issues/comments/68941880","html_url":"https://github.com/fnichol/chef-rvm/issues/193#issuecomment-68941880","issue_url":"https://api.github.com/repos/fnichol/chef-rvm/issues/193","id":68941880,"user":{"login":"lemattma","id":385858,"avatar_url":"https://avatars.githubusercontent.com/u/385858?v=3","gravatar_id":"","url":"https://api.github.com/users/lemattma","html_url":"https://github.com/lemattma","followers_url":"https://api.github.com/users/lemattma/followers","following_url":"https://api.github.com/users/lemattma/following{/other_user}","gists_url":"https://api.github.com/users/lemattma/gists{/gist_id}","starred_url":"https://api.github.com/users/lemattma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemattma/subscriptions","organizations_url":"https://api.github.com/users/lemattma/orgs","repos_url":"https://api.github.com/users/lemattma/repos","events_url":"https://api.github.com/users/lemattma/events{/privacy}","received_events_url":"https://api.github.com/users/lemattma/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T22:00:09Z","updated_at":"2015-01-06T22:00:09Z","body":"@rb2k did you try what I came up with?\r\n\r\nhttps://github.com/fnichol/chef-rvm/issues/288#issue-53328772"}}