Atomic v1.1.14 errors or Xcode/iOS license errors?
Just wanted to share an easy solution to this annoying error with very unconcrete error messages.
If you have recently updated Xcode: Start Xcode and accept the licensing agreements, this completes the Xcode installation and gives you the necessary components to run bundle successfully.
Is this the right answer for you?
It is if you add a new gem to your Gemfile and try to install it using bundle, and get errors such as these:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/dlsv/.rvm/rubies/ruby-2.0.0-p353/bin/ruby -r ./siteconf20141024-1494-ur0xga.rb extconf.rb creating Makefile
make "DESTDIR=" clean
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
Then when you re-run it as root, you get this:
An error occurred while installing atomic (1.1.14), and Bundler cannot continue.
Make sure that `gem install atomic -v '1.1.14'` succeeds before bundling.
So the reasonable solution is to google the errors and browse various Stack Overflow answers. But even if many answers look simple and convenient to try, it could also be even easier to solve.
Have you recently updated Xcode?
Then you need to start XCode and accept licensing agreements before Xcode proceeds with installing its necessary components.
Components that happen to be necessary for the command-line tools to function properly. Thus also necessary for you in order to successfully run bundle.