简体   繁体   中英

An error occurred while installing atomic (1.1.16) and Bundler cannot continue

i'm trying to create a new rails app but while bundling this error raises...

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

My os is mac 10.9 mavericks

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'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM