1.7.2: gem generate_index -d gem_base/

fbehrens's Avatar

fbehrens

22 Apr, 2011 09:46 PM

Hello again,

I had this gem server -d directry command problem wit 1.6.2
Now I upgraded to 1.7.2 and had a different problem :
gem generate_index -d gem_base/ --debug failed with the below error.
As this version does not appear on rubyforge I report it here.
Maybe you can help

Frank

fb@by06oh:~$ l gem_base/
gems/  latest_specs.4.8  latest_specs.4.8.gz  Marshal.4.8  Marshal.4.8.Z  prerelease_specs.4.8  prerelease_specs.4.8.gz  quick/  specs.4.8  specs.4.8.gz
fb@by06oh:~$ cd gem_base/
fb@by06oh:~/gem_base$ mv gems/ ..
fb@by06oh:~/gem_base$ rm -r *
fb@by06oh:~/gem_base$ mv ../gems/ .
fb@by06oh:~/gem_base$ l
gems/
fb@by06oh:~/gem_base$ cd ..
fb@by06oh:~$ gem generate_index -d gem_base/ --debug
Exception `NameError' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:163 - uninitialized constant Gem::Commands::GenerateIndexCommand
Exception `LoadError' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36 - no such file to load -- psych
Exception `LoadError' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60 - no such file to load -- psych
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /tmp/gem_generate_index_30182
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /tmp/gem_generate_index_30182
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1314 - No such file or directory - /tmp/gem_generate_index_30182
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:243 - No such file or directory - /tmp/gem_generate_index_30182/quick/Marshal.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:243 - No such file or directory - 
Exception `Errno::EEXIST' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /tmp
Exception `Errno::EEXIST' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /tmp/gem_generate_index_30182
Loading 1 gems from /home/fb/gem_base
Exception `NoMethodError' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_input.rb:53 - undefined method `readpartial' for #
Exception `IOError' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/format.rb:45 - closed stream
.
Loaded all gems
loaded: 0.024s
Generating Marshal quick index gemspecs for 1 gems
.
Complete
Generated Marshal quick index gemspecs: 0.001s
Generating Marshal master index
Generated Marshal master index: 0.000s
Generating specs index
Exception `NoMethodError' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:469 - undefined method `to_ary' for #
Generated specs index: 0.000s
Exception `NoMethodError' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:469 - undefined method `to_ary' for #
Generating latest specs index
Exception `NoMethodError' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:469 - undefined method `to_ary' for #
Generated latest specs index: 0.000s
Generating prerelease specs index
Generated prerelease specs index: 0.000s
Compressing indicies
Compressed indicies: 0.001s
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/quick/Marshal.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/quick/Marshal.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1314 - No such file or directory - /home/fb/gem_base/quick/Marshal.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1215 - No such file or directory - /home/fb/gem_base/quick/Marshal.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/Marshal.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/Marshal.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1314 - No such file or directory - /home/fb/gem_base/Marshal.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1215 - No such file or directory - /home/fb/gem_base/Marshal.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/Marshal.4.8.Z
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/Marshal.4.8.Z
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1314 - No such file or directory - /home/fb/gem_base/Marshal.4.8.Z
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1215 - No such file or directory - /home/fb/gem_base/Marshal.4.8.Z
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1314 - No such file or directory - /home/fb/gem_base/specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1215 - No such file or directory - /home/fb/gem_base/specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1314 - No such file or directory - /home/fb/gem_base/specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1215 - No such file or directory - /home/fb/gem_base/specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/latest_specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/latest_specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1314 - No such file or directory - /home/fb/gem_base/latest_specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1215 - No such file or directory - /home/fb/gem_base/latest_specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/latest_specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/latest_specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1314 - No such file or directory - /home/fb/gem_base/latest_specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1215 - No such file or directory - /home/fb/gem_base/latest_specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/prerelease_specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/prerelease_specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1314 - No such file or directory - /home/fb/gem_base/prerelease_specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1215 - No such file or directory - /home/fb/gem_base/prerelease_specs.4.8
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/prerelease_specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1217 - No such file or directory - /home/fb/gem_base/prerelease_specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1314 - No such file or directory - /home/fb/gem_base/prerelease_specs.4.8.gz
Exception `Errno::ENOENT' at /home/fb/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:1215 - No such file or directory - /home/fb/gem_base/prerelease_specs.4.8.gz
fb@by06oh:~$ ll gem_base/quick/
total 12
drwxr-xr-x 3 fb fb 4096 2011-04-22 23:34 ./
drwxr-xr-x 4 fb fb 4096 2011-04-22 23:34 ../
drwxr-xr-x 2 fb fb 4096 2011-04-22 23:34 Marshal.4.8/
fb@by06oh:~$ ll gem_base/
total 48
drwxr-xr-x  4 fb fb 4096 2011-04-22 23:34 ./
drwxr-xr-x 57 fb fb 4096 2011-04-22 23:33 ../
drwxr-xr-x  2 fb fb 4096 2011-04-06 12:14 gems/
-rw-r--r--  1 fb fb   62 2011-04-22 23:34 latest_specs.4.8
-rw-r--r--  1 fb fb   80 2011-04-22 23:34 latest_specs.4.8.gz
-rw-r--r--  1 fb fb  816 2011-04-22 23:34 Marshal.4.8
-rw-r--r--  1 fb fb  508 2011-04-22 23:34 Marshal.4.8.Z
-rw-r--r--  1 fb fb    4 2011-04-22 23:34 prerelease_specs.4.8
-rw-r--r--  1 fb fb   24 2011-04-22 23:34 prerelease_specs.4.8.gz
drwxr-xr-x  3 fb fb 4096 2011-04-22 23:34 quick/
-rw-r--r--  1 fb fb   62 2011-04-22 23:34 specs.4.8
-rw-r--r--  1 fb fb   80 2011-04-22 23:34 specs.4.8.gz
fb@by06oh:~$ ll gem_base/gems/
total 168
drwxr-xr-x 2 fb fb   4096 2011-04-06 12:14 ./
drwxr-xr-x 4 fb fb   4096 2011-04-22 23:34 ../
-rw-r--r-- 1 fb fb 160256 2011-04-04 12:21 bundler-1.0.11.gem
fb@by06oh:~$ gem environment
RubyGems Environment:
  - RUBYGEMS VERSION: 1.7.2
  - RUBY VERSION: 1.9.2 (2011-02-18 patchlevel 180) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/fb/.rvm/gems/ruby-1.9.2-p180
  - RUBY EXECUTABLE: /home/fb/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
  - EXECUTABLE DIRECTORY: /home/fb/.rvm/gems/ruby-1.9.2-p180/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/fb/.rvm/gems/ruby-1.9.2-p180
     - /home/fb/.rvm/gems/ruby-1.9.2-p180@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://rubygems.org/
fb@by06oh:~$ 
  1. Support Staff 1 Posted by Nick Quaranto on 23 Sep, 2011 03:09 PM

    Nick Quaranto's Avatar

    This one was buried in our spam filter, just unearthed it. Sorry.

    Is this still happening with the latest version of RubyGems? (1.8.10)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Oct, 2014 09:51 AM
23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM