Error Installing Atomic
The error messages don't give the slightest clue as to what the real problem is. Bundler or a component it calls does not properly handle directory names with spaces in them. In my case it was .../Data RAID/... that caused the problem. Once I moved the project to a different drive where there would be no spaces in the path, everything worked fine. It appears it may be only the location of the gems that are the issue. In an earlier attempt, I created a project where the gems weren't located in a path containing spaces, but the project was. It didn't have any problems as far as I went with it. Notice also that the gem install atomic was successful.
n error occurred while installing atomic (1.1.14), and Bundler cannot continue
I sept so many hours trying to fix this... Now I got it fixed!!!!
What I did:
I tried to reinstall the RVM and typed the below remove command.
rm -rf ~/.rvm
And then try "bundle install" command. Then it worked!!!
Error installing gem atomic
For Installing atomic 1.1.16
, you must have JDK8
installed on your system. It is a prerequisite.
However, it is not required after that. Just for installing the gem.
To run the gem, you just need JDK6 or greater.
Can't install atomic ruby atomic gem in rails 4.0
This should work:
gem install atomic -V
And then:
gem install rails -V
The -V is for Verbose. You'll see what happen.
It worked for me on a Linux box, when gem update
didn't.
You also need to have the latest rubygem / bundler.
Rails Installation error :The 'atomic' native gem requires installed build tools
I have also gone through the same problem. After doing a lot of research, I found a solution that works.
Run this command:
pik list
It should show you
187: ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]
192: ruby 1.9.2p290 (2011-07-09) [i386-mingw32]
193: ruby 1.9.3p327 (2012-11-10) [i386-mingw32]
200: ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
If it's not pointing to Ruby version 200 then run the following:
pik use 200
Now run the following to enhance DevKit to your installed Ruby:
ruby dk.rb install
Finally, run the following:
gem install rails
This will install latest Rails version 4 for Ruby 2.0.
Related Topics
Differencebetween 'Try' and '&.' (Safe Navigation Operator) in Ruby
Why Doesn't "Rails S" Work from the App Directory
Selenium Scroll Element into (Center Of) View
How to Have Rspec Test for My Default Scope
Problem with Quantifiers and Look-Behind
Ruby Mocha: Is There an Equivalent to Rspec-Mocks' #And_Call_Original
Rails 3.2 'Link_To' (In Email) with 'Method: :Put' Still Producing Get Request
Ruby Variable (Array) Assignment Misunderstanding (With Push Method)
How to Set Private Instance Variable Used Within a Method Test
Sinatra Configuring Environments on the Fly
Why Is Enumerable#Each_With_Object Deprecated
How to Create a Nokogiri Case Insensitive Xpath Selector
Why Is Gets Throwing an Error When Arguments Are Passed to My Ruby Script