我正在尝试创建一个新的 Rails 应用程序,但是在捆绑此错误时会引发...

这是我第一次遇到这个错误!!

Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p448/gems/atomic-1.1.16 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.3-p448/gems/atomic-1.1.16/ext/gem_make.out

An error occurred while installing atomic (1.1.16), and Bundler cannot continue.
Make sure that `gem install atomic -v '1.1.16'` succeeds before bundling.

我的 Rails 版本是 Rails 4.0.1

我的操作系统是 mac 10.9 小牛

最佳答案

here 试试这个解决方案:

sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install atomic -v '1.1.16'

或者如果你想导出它:
export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
gem install atomic -v '1.1.16'

关于ruby-on-rails - 安装 atomic (1.1.16) 时出错,Bundler 无法继续,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/22670712/

10-13 01:15