{"action":"created","issue":{"url":"https://api.github.com/repos/gollum/gollum-lib/issues/152","labels_url":"https://api.github.com/repos/gollum/gollum-lib/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/gollum/gollum-lib/issues/152/comments","events_url":"https://api.github.com/repos/gollum/gollum-lib/issues/152/events","html_url":"https://github.com/gollum/gollum-lib/issues/152","id":79446054,"number":152,"title":"Error when trying to build from source","user":{"login":"techwiz24","id":794251,"avatar_url":"https://avatars.githubusercontent.com/u/794251?v=3","gravatar_id":"","url":"https://api.github.com/users/techwiz24","html_url":"https://github.com/techwiz24","followers_url":"https://api.github.com/users/techwiz24/followers","following_url":"https://api.github.com/users/techwiz24/following{/other_user}","gists_url":"https://api.github.com/users/techwiz24/gists{/gist_id}","starred_url":"https://api.github.com/users/techwiz24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techwiz24/subscriptions","organizations_url":"https://api.github.com/users/techwiz24/orgs","repos_url":"https://api.github.com/users/techwiz24/repos","events_url":"https://api.github.com/users/techwiz24/events{/privacy}","received_events_url":"https://api.github.com/users/techwiz24/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-22T12:57:43Z","updated_at":"2015-05-26T13:14:00Z","closed_at":null,"body":"When trying to run `rake build`, I get this error:\r\n\r\n```\r\nDirectory `lib` should only contain a `gollum-lib_java.rb` file and `gollum-lib_java` dir.\r\n```"},"comment":{"url":"https://api.github.com/repos/gollum/gollum-lib/issues/comments/105521251","html_url":"https://github.com/gollum/gollum-lib/issues/152#issuecomment-105521251","issue_url":"https://api.github.com/repos/gollum/gollum-lib/issues/152","id":105521251,"user":{"login":"techwiz24","id":794251,"avatar_url":"https://avatars.githubusercontent.com/u/794251?v=3","gravatar_id":"","url":"https://api.github.com/users/techwiz24","html_url":"https://github.com/techwiz24","followers_url":"https://api.github.com/users/techwiz24/followers","following_url":"https://api.github.com/users/techwiz24/following{/other_user}","gists_url":"https://api.github.com/users/techwiz24/gists{/gist_id}","starred_url":"https://api.github.com/users/techwiz24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techwiz24/subscriptions","organizations_url":"https://api.github.com/users/techwiz24/orgs","repos_url":"https://api.github.com/users/techwiz24/repos","events_url":"https://api.github.com/users/techwiz24/events{/privacy}","received_events_url":"https://api.github.com/users/techwiz24/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T13:14:00Z","updated_at":"2015-05-26T13:14:00Z","body":"Seems to be the case. By hard-coding the name to `\"gollum-lib\"` it will now build. Also, your hunch about sorting seems to be right:\r\n\r\n```bash\r\ngollum@wikitest:~/gollum-lib$ irb\r\nirb(main):001:0> Dir['*.gemspec']\r\n=> [\"gollum-lib_java.gemspec\", \"gollum-lib.gemspec\"]\r\n```"}}