[Rubygems-developers] index_gem_repository problem

Steve Conover sconover at gmail.com
Mon Mar 12 00:14:04 EDT 2007


Anyone run into this?  I brought down all gems to my server box, and
then, from the directory above it, ran

/usr/bin/index_gem_repository.rb -d .


After a few minutes I get this stack trace:

/usr/local/lib/site_ruby/1.8/rubygems/format.rb:41:in
`from_file_by_path': undefined method `include?' for nil:NilClass
(NoMethodError)
        from /usr/bin/index_gem_repository.rb:200:in `build_index'
        from /usr/bin/index_gem_repository.rb:199:in `build_index'
        from /usr/bin/index_gem_repository.rb:83:in `build'
        from /usr/bin/index_gem_repository.rb:80:in `build'
        from /usr/bin/index_gem_repository.rb:198:in `build_index'
        from /usr/bin/index_gem_repository.rb:83:in `build'
        from /usr/bin/index_gem_repository.rb:80:in `build'
        from /usr/bin/index_gem_repository.rb:197:in `build_index'
        from /usr/bin/index_gem_repository.rb:297:in `main_index'
        from /usr/bin/index_gem_repository.rb:301

Has anyone seen this before?

My goal is to run my own gem server locally.  Is there anything more I
need to do besides bring down all the gems, install rubygems (and
update it), and run the index script?

-Steve


More information about the Rubygems-developers mailing list