New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install on OS X #357
Comments
From Apple's Xcode/Clang release notes:
|
Thanks for reporting. I haven't upgraded XCode to 5.1 yet because of these issues, but I'll upgrade it and give it a try and see if we can't ship a new version that somehow works around this. |
@mattr- : Maybe we can simply set the ENV['ARCHFLAGS']= "-Wno-error=unused-command-line-argument-hard-error-in-future" But I'm not sure that this will work and that this is our responsibility. Maybe we should mention it in the README until RubyGems workaround this or a new Ruby version is released, what do you think ? Anyway, the problem has already been reported to the ruby tracker. |
that's what i was thinking in the short term. I love how Apple adding this in the latest version of XCode actually broke their own software. 😉 I'm hoping I can find some time to work on this stuff by the end of the week. so busy. |
I'm trying to install the gem and also encountering the error. I don't think unrecognized command line arguments are the problem. If you read the output @Kapeli posted, it is failing because of a type mismatch issue in buffer.c. If anything the warning to disable should be |
Oops, nevermind, I see both of them now. |
Ok, I guess we can close this one. At least this is not really our call ; according to this comment, you should rebuild Ruby or install another version (let's say through Rbenv or Chruby for instance). I guess the problem has been reported enough to let people know the workaround. @mattr- : Feel free to reopen if you disagree. Thank you guys! :-) |
Xcode 5.1 seems to have updated clang, which turned a bunch of previous warnings into errors.
Other gems seem to have this problem, like rmagick/rmagick#96.
This is the error I get:
The text was updated successfully, but these errors were encountered: