iartist93
iartist93

Reputation: 335

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

Upvotes: 3

Views: 1285

Answers (2)

onetwopunch
onetwopunch

Reputation: 3349

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'

Upvotes: 4

Related Questions