Railsアプリ「rails new project」を作成しようとすると、次のようになります。
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:298:in `to_specs': Could not find 'atomic' (>= 0) - did find: [atomic-1.1.13-java] (Gem::LoadError)
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1265:in `block in activate_dependencies'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1254:in `each'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1254:in `activate_dependencies'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1236:in `activate'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1268:in `block in activate_dependencies'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1254:in `each'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1254:in `activate_dependencies'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1236:in `activate'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1268:in `block in activate_dependencies'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1254:in `each'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1254:in `activate_dependencies'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1236:in `activate'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_gem.rb:48:in `gem'
from /usr/local/bin/rails:22:in `<main>'
ここで議論されている以前の問題がありましたubuntu 12.04 ruby 2.0 rails: Could not find 'thread_safe'。
スレッドセーフなgemをインストールした後、エラーはなくなり、Could not find 'atomic' error.
試してみました:
gem install atomic
さまざまなバージョンがありますが、まだこのエラーが発生しています。今日、これらの問題が他のユーザーにも発生していることに気付きました。