I would suggest asking the gem crowd for help with this one.

Tom

On 26 Sep 2008, at 03:48, greghauptmann wrote:

>
> I'm getting this error when I try to do this
>
> Macintosh-2:myequity greg$ sudo  gem update --system --debug
> Password:
> Exception `NameError' at /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> command_manager.rb:134 - uninitialized constant
> Gem::Commands::UpdateCommand
> Updating RubyGems
> Exception `Timeout::Error' at /opt/local/lib/ruby/1.8/timeout.rb:54 -
> execution expired
> Exception `Gem::RemoteFetcher::FetchError' at /opt/local/lib/ruby/
> site_ruby/1.8/rubygems/remote_fetcher.rb:142 - timed out (http://
> gems.rubyforge.org/latest_specs.4.8.gz)
> WARNING:  RubyGems 1.2+ index not found for:
> RubyGems will revert to legacy indexes degrading performance.
> Exception `ArgumentError' at /opt/local/lib/ruby/site_ruby/1.8/
> rubygems/specification.rb:288 - comparison of String with 2 failed
> Exception `Net::HTTPBadResponse' at /opt/local/lib/ruby/1.8/net/
> http.rb:2019 - wrong status line: "\037\213\b\000\242F\334H\000\003t
> \275m\214\\Yv\030f\326\314\316\364G\365w7\331$gV\022\245\005\263B
> \212bW7\233\344\332\023\365\f9\303\235\325\2203\313\346\356JZ\005\345W
> \357\275\252\272]\357\213\357\276\327\325E\310\031\005\336
> 2\004\001\202c\371O\354_v\202\254\021\330Hb)Y8\216\035\001A\"!\b
> \220\004\213 \376!\351G\202\030\001\202`\263\316\376\311\3479\347\236s
> \356\255\346,vg\246\357\271\267\336\273\357~
> \234\357\2177\227\276\333\371\a
> \353\337]\272\325}\377\331\213\217\336\177\376\364[_\333z\222\346_
> \373\332\267\323\332\232\262\370\356[\267V\356\336\351\337\271{k\271n
> \207s\030x\363\375\2701\347\351cS\247qS\326\363\217\312\3729\364|
> \353/\376\0057\366\340\316\203\223U\030w\325\215{\236\306e
> \235\364\276\361\370\203Gn\310\322\335;\367h\3006\f\260\357\333\017m
> \034Ui\242\277\207\267Q\367\276\353\376(\262\315\263\3246ir\2326\301K
> \356\361\240$\251Sk?(\313\351\307yU\326MZ\273A\253\370\244\203C\032u
> \343\375$7\205\261M\035\3Exception `Timeout::Error' at /opt/local/lib/
> ruby/1.8/timeout.rb:54 - execution expired
> Exception `Gem::RemoteFetcher::FetchError' at /opt/local/lib/ruby/
> site_ruby/1.8/rubygems/remote_fetcher.rb:142 - timed out (http://
> gems.rubyforge.org/quick/latest_index.rz)
> Bulk updating Gem source index for: http://gems.rubyforge.org/
> Exception `TypeError' at /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> source_index.rb:398 - incompatible marshal file format (can't be read)
>        format version 4.8 required; 65.78 given
> Exception `TypeError' at /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> source_index.rb:398 - incompatible marshal file format (can't be read)
>        format version 4.8 required; 120.156 given
> Exception `Zlib::DataError' at /opt/local/lib/ruby/site_ruby/1.8/
> rubygems.rb:396 - incorrect header check
> Exception `NoMethodError' at /opt/local/lib/ruby/site_ruby/1.8/
> rubygems/source_index.rb:358 - undefined method `gems' for #<String:
> 0x2c3acc4>
> ERROR:  While executing gem ... (NoMethodError)
>    undefined method `gems' for #<String:0x2c3acc4>
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:
> 358:in `update'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> source_info_cache_entry.rb:42:in `refresh'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> source_info_cache.rb:249:in `refresh'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> source_info_cache.rb:242:in `each'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> source_info_cache.rb:242:in `refresh'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> source_info_cache.rb:41:in `cache'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/
> source_info_cache.rb:86:in `search_with_source'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/
> update_command.rb:147:in `which_to_update'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:
> 242:in `warn_legacy'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/
> update_command.rb:142:in `which_to_update'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/
> update_command.rb:132:in `each'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/
> update_command.rb:132:in `which_to_update'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/
> update_command.rb:68:in `execute'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/command.rb:136:in
> `invoke'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:
> 105:in `process_args'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:
> 75:in `run'
>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in
> `run'
>        /opt/local/bin/gem:24
> Macintosh-2:myequity greg$
>
>
> On Sep 26, 4:03 am, "Owen Dall" <[EMAIL PROTECTED]> wrote:
>> How about:
>>
>>      gem update --system
>>
>> I am a Mac newbie so this is beyond me.  Runs fine on Windowss!
>>
>> -Owen
>>
>> On Wed, Sep 24, 2008 at 8:17 PM, greghauptmann  
>> <[EMAIL PROTECTED]>wrote:
>>
>>
>>
>>> thanks - I've done this I still get the following (last part shown).
>>> Any ideas?
>>
>>> ------------------- when run with no
>>> debug-------------------------------------------
>>> Macintosh-2:myequity greg$ sudo gem install hobo
>>> Password:
>>> WARNING:  RubyGems 1.2+ index not found for:
>>> RubyGems will revert to legacy indexes degrading performance.
>>> Bulk updating Gem source index for:http://gems.rubyforge.org/
>>> ERROR:  While executing gem ... (NoMethodError)
>>>    undefined method `gems' for #<String:0x2c69e34>
>>> Macintosh-2:myequity greg$
>>
>>> -----------------------last part when run with
>>> debug-------------------------------------
>>> <cut>
>>> get_tk1 => #<RubyToken::TkEND:0x5610ae4 @text="end", @char_no=0,
>>> @name="end", @line_no=161>
>>> get_tk2 => #<RubyToken::TkEND:0x5610ae4 @text="end", @char_no=0,
>>> @name="end", @line_no=161>
>>> get_tk2 => #<RubyToken::TkEND:0x5610ae4 @text="end", @char_no=0,
>>> @name="end", @line_no=161>
>>> get_tk2 => #<RubyToken::TkEND:0x5610ae4 @text="end", @char_no=0,
>>> @name="end", @line_no=161>
>>> get_tk2 => #<RubyToken::TkEND:0x5610ae4 @text="end", @char_no=0,
>>> @name="end", @line_no=161>
>>> Found 'end' in TopLevel, nest = 1, line 161
>>> #<RubyToken::TkNL:0x5610418 @text="\n", @char_no=3, @line_no=161>
>>> get_tk1 => #<RubyToken::TkNL:0x5610418 @text="\n", @char_no=3,
>>> @line_no=161>
>>> get_tk2 => #<RubyToken::TkNL:0x5610418 @text="\n", @char_no=3,
>>> @line_no=161>
>>> get_tk2 => #<RubyToken::TkNL:0x5610418 @text="\n", @char_no=3,
>>> @line_no=161>
>>> #<RubyToken::TkNL:0x560ff54 @text="\n", @char_no=0, @line_no=162>
>>> get_tk1 => #<RubyToken::TkNL:0x560ff54 @text="\n", @char_no=0,
>>> @line_no=162>
>>> nil
>>> get_tk1 => nil
>>> get_tk2 => nil
>>> get_tk2 => nil
>>> get_tk2 => nil
>>> get_tk2 => nil
>>> Exception `ArgumentError' at /opt/local/lib/ruby/1.8/rdoc/ 
>>> generators/
>>> html_generator.rb:1103 - too many arguments for format string
>>> ERROR:  While executing gem ... (ArgumentError)
>>>    too many arguments for format string
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 1103:in `sprintf'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 1103:in `add_line_numbers'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 1102:in `gsub!'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 1102:in `add_line_numbers'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 1087:in `markup_code'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 925:in `initialize'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 326:in `new'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 326:in `collect_methods'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 326:in `collect'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 326:in `collect_methods'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 787:in `initialize'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 1256:in `new'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 1256:in `build_indices'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 1255:in `each'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 1255:in `build_indices'
>>>        /opt/local/lib/ruby/1.8/rdoc/generators/html_generator.rb:
>>> 1196:in `generate'
>>>        /opt/local/lib/ruby/1.8/rdoc/rdoc.rb:284:in `document'
>>>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:
>>> 112:in `run_rdoc'
>>>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:
>>> 87:in `install_rdoc'
>>>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/doc_manager.rb:
>>> 53:in `generate_rdoc'
>>>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/
>>> install_command.rb:113:in `execute'
>>>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/
>>> install_command.rb:112:in `each'
>>>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/
>>> install_command.rb:112:in `execute'
>>>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/command.rb:136:in
>>> `invoke'
>>>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
>>> command_manager.rb:
>>> 105:in `process_args'
>>>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
>>> command_manager.rb:
>>> 75:in `run'
>>>        /opt/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb: 
>>> 39:in
>>> `run'
>>>        /opt/local/bin/gem:24
>>> Macintosh-2:myequity greg$
>>> ------------------------------------------------------------
>>
>>>  On Sep 25, 7:57 am, Owen <[EMAIL PROTECTED]> wrote:
>>>> Have you done this yet?
>>
>>>>        gem sources -ahttp://gems.github.comgem
>>
>>>> You'll need this to find the mislav-will_paginate gem as well
>>
>>>> http://github.com/mislav/will_paginate/tree/master
>>
>>>> -Owen
>>
>>>> On Sep 23, 6:01 pm, greghauptmann <[EMAIL PROTECTED]> wrote:
>>
>>>>> PS another example:
>>
>>>>> Macintosh-2:myequity greg$ sudo gem install hobo --debug
>>>>> Password:
>>>>> Exception `NameError' at /opt/local/lib/ruby/site_ruby/1.8/ 
>>>>> rubygems/
>>>>> command_manager.rb:134 - uninitialized constant
>>>>> Gem:                               :Commands::InstallCommand
>>>>> Exception `Timeout::Error' at /opt/local/lib/ruby/1.8/timeout.rb: 
>>>>> 54 -
>>>>> execution expired
>>>>> Exception `Gem::RemoteFetcher::FetchError' at /opt/local/lib/ruby/
>>>>> site_ruby/1.8/rubygems/remote_fetcher.rb:142 - timed out (http://
>>>>> gems.rubyforge.org/latest_specs.4.8.gz)
>>>>> WARNING:  RubyGems 1.2+ index not found for:
>>>>> RubyGems will revert to legacy indexes degrading performance.
>>>>> Exception `Net::HTTPBadResponse' at /opt/local/lib/ruby/1.8/net/
>>>>> http.rb:2019 - wrong status line: "\037\213\b\000\236X\331H 
>>>>> \000\003t
>>>>> \275[\214dIv\030\246\316\231\235\251G\326\273\252\237\263Kn
>>>>> \213\213\026idoWV\365k\355\001\253\247{\246g\226\323=
>>>>> \303\256\336\035\212\244\234\270y\357\315\314\250\274\257\276qoee
>>>>> \221\366\222\342~P\022\b\254\f\361K\004\f\233\004\204\375\260(\311
>>>>> \215\005M\203\240a\v \r\330\220\274\260\rC\024\r\177\b\376\"\026\v
>>>>> \257\r\030\262}\316\211sNDV\317b\246\2733N
>>>>> \304\215\e7\036'\316\373\274\271\364K
>>>>> \235\357\256\377\322\322\315\356\243\347/?x
>>>>> \364\342\3317\276\266\3654\315\277\366\265o\246\2655e\361Ko\335\\ 
>>>>> \271s
>>>>> \273\177\373\316\315\345\272\035\316\241\341\215GqcN\323'\246N
>>>>> \343\246\254\347\037\224\365\v\250\371\306\277\373\327\\
>>>>> \333\375\333\017\216V\241\335e\327\356E\032\227u
>>>>> \322\373\372\223\367\036\273&Kwn\337\245\006\333\320\300>
>>>>> \262\357\3338\252\322D\237\207\267Q\365UW\375Ad\233\347\251m 
>>>>> \322\3448m
>>>>> \202\227\334\345FIR\247\326\276W\226\323\217\362\252\254\233\264v 
>>>>> \215V
>>>>> \261\247\375\003ju\375Q\22Exception `Timeout::Error' at /opt/ 
>>>>> local/lib/
>>>>> ruby/1.8/timeout.rb:54 - execution expired
>>>>> Exception `Gem::RemoteFetcher::FetchError' at /opt/local/lib/ruby/
>>>>> site_ruby/1.8/rubygems/remote_fetcher.rb:142 - timed out (http://
>>>>> gems.rubyforge.org/quick/latest_index.rz)
>>>>> Updating metadata for 98 gems fromhttp://gems.rubyforge.org/
>>>>> Exception `TypeError' at /opt/local/lib/ruby/site_ruby/1.8/ 
>>>>> rubygems/
>>>>> source_index.rb:488 - incompatible marshal file format (can't be  
>>>>> read)
>>>>>         format version 4.8 required; 65.78 given
>>>>> Exception `NoMethodError' at /opt/local/lib/ruby/site_ruby/1.8/
>>>>> rubygems/source_index.rb:172 - undefined method `full_name' for
>>>>> #<String:0x1aef578>
>>>>> ERROR:  While executing gem ... (NoMethodError)
>>>>>     undefined method `full_name' for #<String:0x1aef578>
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
>>>>> source_index.rb:
>>>>> 172:in `add_spec'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
>>>>> source_index.rb:
>>>>> 523:in `update_with_missing'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
>>>>> source_index.rb:
>>>>> 517:in `each'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
>>>>> source_index.rb:
>>>>> 517:in `update_with_missing'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
>>>>> source_index.rb:
>>>>> 355:in `update'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/
>>>>> source_info_cache_entry.rb:42:in `refresh'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/
>>>>> source_info_cache.rb:249:in `refresh'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/
>>>>> source_info_cache.rb:242:in `each'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/
>>>>> source_info_cache.rb:242:in `refresh'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/
>>>>> source_info_cache.rb:41:in `cache'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/
>>>>> source_info_cache.rb:86:in `search_with_source'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
>>>>> spec_fetcher.rb:
>>>>> 72:in `fetch'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
>>>>> spec_fetcher.rb:
>>>>> 242:in `warn_legacy'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/ 
>>>>> spec_fetcher.rb:
>>>>> 69:in `fetch'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/
>>>>> dependency_installer.rb:94:in `find_gems_with_sources'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/
>>>>> dependency_installer.rb:187:in `find_spec_by_name_and_version'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/
>>>>> dependency_installer.rb:208:in `install'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/
>>>>> install_command.rb:73:in `execute'
>>>>>         /opt/local/lib/ruby/site_ruby/1.8/rubygems/commands/
>>>>> install_command.rb:70:in `each'
>>
>> ...
>>
>> read more ยป
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to