{"action":"created","issue":{"url":"https://api.github.com/repos/arista-eosplus/rbeapi/issues/46","labels_url":"https://api.github.com/repos/arista-eosplus/rbeapi/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/arista-eosplus/rbeapi/issues/46/comments","events_url":"https://api.github.com/repos/arista-eosplus/rbeapi/issues/46/events","html_url":"https://github.com/arista-eosplus/rbeapi/issues/46","id":101728286,"number":46,"title":"rbeapi exits if $HOME is not set","user":{"login":"jerearista","id":7839104,"avatar_url":"https://avatars.githubusercontent.com/u/7839104?v=3","gravatar_id":"","url":"https://api.github.com/users/jerearista","html_url":"https://github.com/jerearista","followers_url":"https://api.github.com/users/jerearista/followers","following_url":"https://api.github.com/users/jerearista/following{/other_user}","gists_url":"https://api.github.com/users/jerearista/gists{/gist_id}","starred_url":"https://api.github.com/users/jerearista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerearista/subscriptions","organizations_url":"https://api.github.com/users/jerearista/orgs","repos_url":"https://api.github.com/users/jerearista/repos","events_url":"https://api.github.com/users/jerearista/events{/privacy}","received_events_url":"https://api.github.com/users/jerearista/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/arista-eosplus/rbeapi/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-18T19:09:35Z","updated_at":"2015-08-20T13:43:02Z","closed_at":"2015-08-20T13:43:02Z","body":"rbeapi should gracefully continue if the path expansion for '~/.eapi.conf' fails.\r\n\r\n```\r\nbash-3.2$ (unset HOME; irb)\r\nirb(main):001:0> require 'rbeapi/client'\r\n=> true\r\nirb(main):002:0> node = Rbeapi::Client.connect_to('veos01')\r\nArgumentError: couldn't find HOME environment -- expanding `~'\r\n\tfrom /opt/crossfader/versions/ruby/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rbeapi-0.2.0/lib/rbeapi/client.rb:190:in `expand_path'\r\n\tfrom /opt/crossfader/versions/ruby/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rbeapi-0.2.0/lib/rbeapi/client.rb:190:in `block in autoload'\r\n\tfrom /opt/crossfader/versions/ruby/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rbeapi-0.2.0/lib/rbeapi/client.rb:189:in `each'\r\n\tfrom /opt/crossfader/versions/ruby/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rbeapi-0.2.0/lib/rbeapi/client.rb:189:in `autoload'\r\n\tfrom /opt/crossfader/versions/ruby/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rbeapi-0.2.0/lib/rbeapi/client.rb:171:in `initialize'\r\n\tfrom /opt/crossfader/versions/ruby/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rbeapi-0.2.0/lib/rbeapi/client.rb:61:in `new'\r\n\tfrom /opt/crossfader/versions/ruby/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rbeapi-0.2.0/lib/rbeapi/client.rb:61:in `config'\r\n\tfrom /opt/crossfader/versions/ruby/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rbeapi-0.2.0/lib/rbeapi/client.rb:89:in `config_for'\r\n\tfrom /opt/crossfader/versions/ruby/1.9.3-p448/lib/ruby/gems/1.9.1/gems/rbeapi-0.2.0/lib/rbeapi/client.rb:102:in `connect_to'\r\n\tfrom (irb):2\r\n\tfrom /opt/crossfader/versions/ruby/1.9.3-p448/bin/irb:12:in `<main>'\r\n```"},"comment":{"url":"https://api.github.com/repos/arista-eosplus/rbeapi/issues/comments/133011615","html_url":"https://github.com/arista-eosplus/rbeapi/issues/46#issuecomment-133011615","issue_url":"https://api.github.com/repos/arista-eosplus/rbeapi/issues/46","id":133011615,"user":{"login":"devrobo","id":7717874,"avatar_url":"https://avatars.githubusercontent.com/u/7717874?v=3","gravatar_id":"","url":"https://api.github.com/users/devrobo","html_url":"https://github.com/devrobo","followers_url":"https://api.github.com/users/devrobo/followers","following_url":"https://api.github.com/users/devrobo/following{/other_user}","gists_url":"https://api.github.com/users/devrobo/gists{/gist_id}","starred_url":"https://api.github.com/users/devrobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devrobo/subscriptions","organizations_url":"https://api.github.com/users/devrobo/orgs","repos_url":"https://api.github.com/users/devrobo/repos","events_url":"https://api.github.com/users/devrobo/events{/privacy}","received_events_url":"https://api.github.com/users/devrobo/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T13:43:02Z","updated_at":"2015-08-20T13:43:02Z","body":"Fixed with commit: 7d837d4775a6e7d3d20781033e42c413a012fc0f"}}