{"action":"created","issue":{"url":"https://api.github.com/repos/mynewsdesk/social_media_parser/issues/4","labels_url":"https://api.github.com/repos/mynewsdesk/social_media_parser/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mynewsdesk/social_media_parser/issues/4/comments","events_url":"https://api.github.com/repos/mynewsdesk/social_media_parser/issues/4/events","html_url":"https://github.com/mynewsdesk/social_media_parser/issues/4","id":56832972,"number":4,"title":"Version 0.1.3 is broken ","user":{"login":"alexanderleipzig","id":5427140,"avatar_url":"https://avatars.githubusercontent.com/u/5427140?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderleipzig","html_url":"https://github.com/alexanderleipzig","followers_url":"https://api.github.com/users/alexanderleipzig/followers","following_url":"https://api.github.com/users/alexanderleipzig/following{/other_user}","gists_url":"https://api.github.com/users/alexanderleipzig/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderleipzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderleipzig/subscriptions","organizations_url":"https://api.github.com/users/alexanderleipzig/orgs","repos_url":"https://api.github.com/users/alexanderleipzig/repos","events_url":"https://api.github.com/users/alexanderleipzig/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderleipzig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mynewsdesk/social_media_parser/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"mnordin","id":28260,"avatar_url":"https://avatars.githubusercontent.com/u/28260?v=3","gravatar_id":"","url":"https://api.github.com/users/mnordin","html_url":"https://github.com/mnordin","followers_url":"https://api.github.com/users/mnordin/followers","following_url":"https://api.github.com/users/mnordin/following{/other_user}","gists_url":"https://api.github.com/users/mnordin/gists{/gist_id}","starred_url":"https://api.github.com/users/mnordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnordin/subscriptions","organizations_url":"https://api.github.com/users/mnordin/orgs","repos_url":"https://api.github.com/users/mnordin/repos","events_url":"https://api.github.com/users/mnordin/events{/privacy}","received_events_url":"https://api.github.com/users/mnordin/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-02-06T16:24:46Z","updated_at":"2015-02-18T08:22:44Z","closed_at":"2015-02-18T08:22:44Z","body":"this commit breaks the gem 9f1e3c29cbffc7dcf4ee33f9f11f0875ae64db3c\r\n\r\nthe line \r\n```\r\nDir.entries(\"lib/social_media_parser/provider/\")\r\n```\r\n\r\nis not working when the gem is used in a rails app. it raises an\r\n\r\n```\r\nNo such file or directory @ dir_initialize - lib/social_media_parser/provider/\r\n```\r\n\r\nMy guess is, that the path is wrong when we are using the gem inside rails.\r\n```\r\n[2] pry(SocialMediaParser::Provider::Base)> Dir.pwd\r\n=> \"/Users/alexanderrothe/Projects/network-backend\"\r\n```\r\n\r\nI did a binding.pry just before the failing line and you can see that the path is not the gem folder, its the rails root directory. "},"comment":{"url":"https://api.github.com/repos/mynewsdesk/social_media_parser/issues/comments/74828322","html_url":"https://github.com/mynewsdesk/social_media_parser/issues/4#issuecomment-74828322","issue_url":"https://api.github.com/repos/mynewsdesk/social_media_parser/issues/4","id":74828322,"user":{"login":"mnordin","id":28260,"avatar_url":"https://avatars.githubusercontent.com/u/28260?v=3","gravatar_id":"","url":"https://api.github.com/users/mnordin","html_url":"https://github.com/mnordin","followers_url":"https://api.github.com/users/mnordin/followers","following_url":"https://api.github.com/users/mnordin/following{/other_user}","gists_url":"https://api.github.com/users/mnordin/gists{/gist_id}","starred_url":"https://api.github.com/users/mnordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnordin/subscriptions","organizations_url":"https://api.github.com/users/mnordin/orgs","repos_url":"https://api.github.com/users/mnordin/repos","events_url":"https://api.github.com/users/mnordin/events{/privacy}","received_events_url":"https://api.github.com/users/mnordin/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T08:22:44Z","updated_at":"2015-02-18T08:22:44Z","body":"Hmm, didn't know about `__dir__`, what a silly mistake. thx everyone! :love_hotel:"}}