gem: Unknown command mirror !

tjyang2001's Avatar

tjyang2001

28 Feb, 2011 07:49 PM

I am tring to create a rubygem mirror of my own using procedure in following URL

http://www.sun.com/bigadmin/content/submitted/ruby_http.jsp

but why I am getting "Unknow command mirror" ?

Here is my ruby and gem info

root@600m:~# gem mirror
ERROR: While executing gem ... (RuntimeError)

Unknown command mirror

root@600m:~# gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.5.2 - RUBY VERSION: 1.8.7 (2009-06-12 patchlevel 174) [i386-solaris2.11] - INSTALLATION DIRECTORY: /var/ruby/1.8/gem_home - RUBY EXECUTABLE: /usr/ruby/1.8/bin/ruby - EXECUTABLE DIRECTORY: /var/ruby/1.8/gem_home/bin - RUBYGEMS PLATFORMS:

- ruby
- x86-solaris-2.11
  • GEM PATHS:
    • /var/ruby/1.8/gem_home
    • /root/.gem/ruby/1.8
    • /usr/ruby/1.8/lib/ruby/gems/1.8
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:
  1. Support Staff 2 Posted by Luis Lavena on 28 Feb, 2011 08:08 PM

    Luis Lavena's Avatar

    Mirror command is no longer part of RubyGems base installation.

    You can install it separately:

    https://github.com/rubygems/rubygems-mirror

  2. Luis Lavena closed this discussion on 28 Feb, 2011 08:08 PM.

Comments are currently closed for this discussion. You can start a new one.

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