【发布时间】:2014-03-18 01:01:48
【问题描述】:
Rails 包更新在处理 atomic gem v 1.1.16 时一直失败。已经在网上来回搜索解决方案。检查 gcc --version:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include- dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
安装了 xcode 命令行,运行 gem 系统更新,卸载了以前的 atomic 版本并尝试重新安装 1.1.16。结果相同:
...
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [atomic_reference.bundle] Error 1
make failed, exit code 2
有人有提示吗?提前致谢。
更新
这些是迄今为止我从google groups 和github 中找到的最接近的解决方案。
似乎是 osx Mavericks 和/或 Xcode 尚未解决的问题。 但是修改后的捆绑安装提示至少可以让它运行完整。
【问题讨论】:
-
malvolio,同样的问题刚刚再次被问到 - 你可能会在这里得到解决方案:stackoverflow.com/questions/22670712/…
-
谢谢。我通过重新安装从 rvm 到 rails 框架的所有内容解决了这个问题。
标签: ruby-on-rails-4 gem bundle atomic