{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/44619","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44619/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44619/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44619/events","html_url":"https://github.com/Homebrew/homebrew/issues/44619","id":109796975,"number":44619,"title":"lua package uses wrong module path when using the precompiled binaries","user":{"login":"davidgiven","id":100638,"avatar_url":"https://avatars.githubusercontent.com/u/100638?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgiven","html_url":"https://github.com/davidgiven","followers_url":"https://api.github.com/users/davidgiven/followers","following_url":"https://api.github.com/users/davidgiven/following{/other_user}","gists_url":"https://api.github.com/users/davidgiven/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgiven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgiven/subscriptions","organizations_url":"https://api.github.com/users/davidgiven/orgs","repos_url":"https://api.github.com/users/davidgiven/repos","events_url":"https://api.github.com/users/davidgiven/events{/privacy}","received_events_url":"https://api.github.com/users/davidgiven/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/lua","name":"lua","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-10-05T13:33:03Z","updated_at":"2015-10-16T15:55:35Z","closed_at":"2015-10-16T15:55:35Z","body":"It looks like the lua precompiled binaries assume that they're installed in /usr/local --- the module path used by the interpreter looks there for modules, rather than in the actual homebrew installation directory. This is fine if you've installed in /usr/local, but not if you've installed in your home directory (like me).\r\n\r\nReinstalling lua with:\r\n\r\n    brew install --build-from-source lua\r\n\r\nworks fine."}}