{"action":"created","issue":{"url":"https://api.github.com/repos/sstephenson/rbenv/issues/440","labels_url":"https://api.github.com/repos/sstephenson/rbenv/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/sstephenson/rbenv/issues/440/comments","events_url":"https://api.github.com/repos/sstephenson/rbenv/issues/440/events","html_url":"https://github.com/sstephenson/rbenv/issues/440","id":18836108,"number":440,"title":"configure: error: C compiler cannot create executables","user":{"login":"tellijo","id":1386115,"avatar_url":"https://avatars.githubusercontent.com/u/1386115?v=3","gravatar_id":"","url":"https://api.github.com/users/tellijo","html_url":"https://github.com/tellijo","followers_url":"https://api.github.com/users/tellijo/followers","following_url":"https://api.github.com/users/tellijo/following{/other_user}","gists_url":"https://api.github.com/users/tellijo/gists{/gist_id}","starred_url":"https://api.github.com/users/tellijo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tellijo/subscriptions","organizations_url":"https://api.github.com/users/tellijo/orgs","repos_url":"https://api.github.com/users/tellijo/repos","events_url":"https://api.github.com/users/tellijo/events{/privacy}","received_events_url":"https://api.github.com/users/tellijo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2013-09-01T12:25:36Z","updated_at":"2015-11-13T03:25:46Z","closed_at":"2013-09-01T16:02:50Z","body":"I try to install the last stable version of ruby. But I have this error:\r\n\r\n````\r\nBUILD FAILED\r\n\r\nInspect or clean up the working tree at /var/folders/fn/1kz6tqdd2b58vl6lggn7ks4r0000gn/T/ruby-build.20130901135911.4559\r\nResults logged to /var/folders/fn/1kz6tqdd2b58vl6lggn7ks4r0000gn/T/ruby-build.20130901135911.4559.log\r\n\r\nLast 10 log lines:\r\nchecking build system type... x86_64-apple-darwin12.4.0\r\nchecking host system type... x86_64-apple-darwin12.4.0\r\nchecking target system type... x86_64-apple-darwin12.4.0\r\nchecking for gcc-4.2... gcc-4.2\r\nchecking for gcc... (cached) gcc-4.2\r\nchecking whether the C compiler works... no\r\nconfigure: error: in `/var/folders/fn/1kz6tqdd2b58vl6lggn7ks4r0000gn/T/ruby-build.20130901135911.4559/ruby-2.0.0-p247':\r\nconfigure: error: C compiler cannot create executables\r\nSee `config.log' for more details\r\nmake: *** No targets specified and no makefile found.  Stop.\r\n````\r\nI'm on mac OS 10.8\r\nI opened xcode to see that the command line tool was not installed, so I installed it and I updated my rbenv and ruby-build using homebrew but there is still the error."},"comment":{"url":"https://api.github.com/repos/sstephenson/rbenv/issues/comments/156311989","html_url":"https://github.com/sstephenson/rbenv/issues/440#issuecomment-156311989","issue_url":"https://api.github.com/repos/sstephenson/rbenv/issues/440","id":156311989,"user":{"login":"mscottford","id":21340,"avatar_url":"https://avatars.githubusercontent.com/u/21340?v=3","gravatar_id":"","url":"https://api.github.com/users/mscottford","html_url":"https://github.com/mscottford","followers_url":"https://api.github.com/users/mscottford/followers","following_url":"https://api.github.com/users/mscottford/following{/other_user}","gists_url":"https://api.github.com/users/mscottford/gists{/gist_id}","starred_url":"https://api.github.com/users/mscottford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscottford/subscriptions","organizations_url":"https://api.github.com/users/mscottford/orgs","repos_url":"https://api.github.com/users/mscottford/repos","events_url":"https://api.github.com/users/mscottford/events{/privacy}","received_events_url":"https://api.github.com/users/mscottford/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T03:25:46Z","updated_at":"2015-11-13T03:25:46Z","body":"@t0d0r: Thanks a bunch for posting your work around. Totally worked for me."}}