Ruby on rails 4 gem atomic 1.1.16的Rails 4包更新错误
Rails捆绑包更新在处理atomic gem v 1.1.16时一直失败。我们在网上来回搜索,寻找解决方案。选中gcc--版本:Ruby on rails 4 gem atomic 1.1.16的Rails 4包更新错误,ruby-on-rails-4,gem,bundle,atomic,Ruby On Rails 4,Gem,Bundle,Atomic,Rails捆绑包更新在处理atomic gem v 1.1.16时一直失败。我们在网上来回搜索,寻找解决方案。选中gcc--版本: 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)
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
有人有什么暗示吗?提前谢谢
更新
这些是我迄今为止从和找到的最接近的解决方案
似乎是osx小牛和/或Xcode尚未解决的问题。
但是修改后的bundle安装提示至少让它运行完整。我想知道您使用的Rails和Ruby版本是否有问题 我使用Rails 4.0.2和RVM 1.25.16管理ruby版本(目前有2.0.0p247和2.0.0-p353)。我使用的是OS X Mavericks 10.9.1版
我最初安装了ruby 2.0.0p247,这仍然是terminal的默认设置。但我后来安装了RVM ruby 2.0.0p353。我在安装atomic gem时也遇到了错误,即使是在一个新项目中。但是当我切换到最新版本的ruby with rvm(rvm ruby-2.0.0-p353)时,现在所有的东西都安装正确了。我不知道发生了什么,也不知道为什么会这样。我希望这能有所帮助。malvolio,这个问题刚刚又被问到了——你可能会在这里得到一个解决方案:谢谢。我通过重新安装从rvm到rails框架的所有组件解决了这个问题