Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 590
iartist93 Avatar asked Dec 04 '25 05:12

iartist93


1 Answers

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'
like image 181
onetwopunch Avatar answered Dec 05 '25 20:12

onetwopunch