i'm trying to create a new rails app but while bundling this error raises...
我正在尝试创建一个新的rails应用程序,但是在绑定这个错误的同时……
it's the first time i face this error !!
这是我第一次面对这个错误!!
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.
My rails version is Rails 4.0.1
我的rails版本是rails 4.0.1
My os is mac 10.9 mavericks
我的操作系统是mac 10.9 mavericks
2 个解决方案
#1
4
Try this solution from here:
从这里尝试这个解决方案:
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install atomic -v '1.1.16'
or if you want to export it:
或者如果你想出口的话:
export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
gem install atomic -v '1.1.16'
#2
0
try installing development tools
试着安装开发工具
http://www.computersnyou.com/2025/2013/06/install-command-line-tools-in-osx-10-9-mavericks-how-to/
http://www.computersnyou.com/2025/2013/06/install-command-line-tools-in-osx-10-9-mavericks-how-to/
#1
4
Try this solution from here:
从这里尝试这个解决方案:
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install atomic -v '1.1.16'
or if you want to export it:
或者如果你想出口的话:
export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future
gem install atomic -v '1.1.16'
#2
0
try installing development tools
试着安装开发工具
http://www.computersnyou.com/2025/2013/06/install-command-line-tools-in-osx-10-9-mavericks-how-to/
http://www.computersnyou.com/2025/2013/06/install-command-line-tools-in-osx-10-9-mavericks-how-to/