Note that there are some explanatory texts on larger screens.

plurals
  1. PORuby: What does Errno::EEXIST mean when installing a gem?
    primarykey
    data
    text
    <p>I am trying to install a ruby gem called activeldap, however, it won't let me install it. I keep getting all kinds of errors including the Errno::EEXIST error. I added the error info below. Any ideas?</p> <pre><code>C:\Ruby\www\demo&gt;gem install activeldap ERROR: While executing gem ... (Errno::EEXIST) File exists - C: C:\Ruby\www\demo&gt;gem install activeldap --debug -V Exception `NameError' at C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:164 - uninitialized constant Gem::Commands::InstallCommand Exception `NoMethodError' at C:/Ruby187/lib/ruby/1.8/rational.rb:78 - undefined method `gcd' for Rational(1, 2):Rational Exception `Gem::LoadError' at C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:779 - Could not find RubyGem test-unit (&gt;= 0) Exception `Gem::LoadError' at C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems.rb:779 - Could not find RubyGem sources (&gt; 0.0.1) GET http://rubygems.org/latest_specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz 200 OK Exception `Errno::EEXIST' at C:/Ruby187/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/Users/ktemplar/.gem/specs/rubygems.org%80 GET http://rubygems.org/specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/specs.4.8.gz 304 Not Modified Installing gem locale-2.0.5 Exception `IOError' at C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/format.rb:50 - closed stream Exception `Errno::EEXIST' at C:/Ruby187/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/Ruby187/lib/ruby/gems/1.8 Exception `Errno::EEXIST' at C:/Ruby187/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/Ruby187/lib/ruby/gems/1.8/gems/locale-2.0.5 Exception `Errno::EEXIST' at C:/Ruby187/lib/ruby/1.8/fileutils.rb:243 - File exists - C:/Ruby187/lib/ruby/gems/1.8/gems/locale-2.0.5/lib C:/Ruby187/lib/ruby/gems/1.8/gems/locale-2.0.5/lib/locale.rb Exception `Errno::ENOENT' at C:/Ruby187/lib/ruby/1.8/fileutils.rb:243 - No such file or directory - C:/Ruby187/lib/ruby/gems/1.8/gems/locale-2.0.5/lib/locale/tag Exception `Errno::EEXIST' at C:/Ruby187/lib/ruby/1.8/fileutils.rb:243 - File exists - C: Exception `Errno::EEXIST' at C:/Ruby187/lib/ruby/1.8/fileutils.rb:219 - File exists - C: ERROR: While executing gem ... (Errno::EEXIST) File exists - C: C:/Ruby187/lib/ruby/1.8/fileutils.rb:243:in `mkdir' C:/Ruby187/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir' C:/Ruby187/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p' C:/Ruby187/lib/ruby/1.8/fileutils.rb:215:in `reverse_each' C:/Ruby187/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p' C:/Ruby187/lib/ruby/1.8/fileutils.rb:201:in `each' C:/Ruby187/lib/ruby/1.8/fileutils.rb:201:in `mkdir_p' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/installer.rb:517:in `extract_files' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/installer.rb:500:in `each' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/installer.rb:500:in `extract_files' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/installer.rb:196:in `install' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:277:in `install' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:247:in `each' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:247:in `install' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:119:in `execute' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:116:in `each' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:116:in `execute' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/command.rb:270:in `invoke' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:134:in `process_args' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:104:in `run' C:/Ruby187/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:58:in `run' C:/Ruby187/bin/gem:21 </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload