tag:help.rubygems.org,2010-01-19:/discussions/problems/549-gem-server-d-gembase-failed-with-gem_base-does-not-appear-to-be-a-gem-repositoryRubyGems.org: Discussion 2012-07-10T03:40:23Ztag:help.rubygems.org,2010-01-19:Comment/64693952011-04-06T10:24:28Z2011-04-20T12:24:12Zgem server -d gembase failed with: gem_base does not appear to be a gem repository<div><p>Hello,<br>
<code>gem generate_index -d gem_base/</code> seemed to work, so I
wonder where I am missing something.<br>
Any suggestions are dearly appreciated.<br>
Frank</p>
<pre>
fb@by06oh:~$ gem generate_index -d gem_base/
Loading 1 gems from /home/fb/gem_base
.
Loaded all gems
loaded: 0.011s
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
Generated specs index: 0.000s
Generating latest specs index
Generated latest specs index: 0.000s
Generating prerelease specs index
Generated prerelease specs index: 0.000s
Compressing indicies
Compressed indicies: 0.001s
fb@by06oh:~$ gem server -d gem_base/
ERROR: While executing gem ... (ArgumentError)
/home/fb/gem_base does not appear to be a gem repository
fb@by06oh:~$ find gem_base/
gem_base/
gem_base/gems
gem_base/gems/bundler-1.0.11.gem
gem_base/Marshal.4.8
gem_base/latest_specs.4.8
gem_base/prerelease_specs.4.8
gem_base/quick
gem_base/quick/Marshal.4.8
gem_base/quick/Marshal.4.8/bundler-1.0.11.gemspec.rz
gem_base/specs.4.8
gem_base/specs.4.8.gz
gem_base/latest_specs.4.8.gz
gem_base/prerelease_specs.4.8.gz
gem_base/Marshal.4.8.Z
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
- "gem" => "--no-ri --no-rdoc"
- REMOTE SOURCES:
- http://rubygems.org/
fb@by06oh:~$
</pre></div>fbehrenstag:help.rubygems.org,2010-01-19:Comment/64693952011-04-20T12:25:00Z2011-04-20T12:25:00Zgem server -d gembase failed with: gem_base does not appear to be a gem repository<div><p>Does this work if you don't specify <code>-d</code> ? I've added
Eric to this thread in hopes he might have an idea of what's going
wrong here. :)</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/64693952011-04-20T19:58:47Z2011-04-20T19:58:50Zgem server -d gembase failed with: gem_base does not appear to be a gem repository<div><p>when i run<br>
$ gem server gem_base the server start and serves my locally
installed gems instead those<br>
in gem_base/gems</p>
<p>see<br>
<a href=
"https://gist.github.com/932552">https://gist.github.com/932552</a></p>
<p>frank</p></div>fbehrenstag:help.rubygems.org,2010-01-19:Comment/64693952011-04-22T18:30:26Z2011-04-22T18:30:26Zgem server -d gembase failed with: gem_base does not appear to be a gem repository<div><p>Please file a bug in <a href=
"http://rubyforge.org/tracker/?func=add&group_id=126&atid=575">
http://rubyforge.org/tracker/?func=add&amp;group_id=126&amp;atid=575</a></p></div>Eric Hodel