tag:help.rubygems.org,2010-01-19:/discussions/problems/480-updating-rubygems-to-150-notRubyGems.org: Discussion 2011-09-23T14:59:42Ztag:help.rubygems.org,2010-01-19:Comment/50652662011-02-01T11:12:16Z2011-02-01T11:29:26ZUpdating RubyGems to 1.5.0? I Can't! [SELF-SOLVED]<div><p>Found a solution! The problem is rdoc.<br>
let's take a look at how I did it:</p>
<p><code>C:\Windows\system32>ruby -v</code></p>
<p>ruby 1.9.2p136 (2010-12-25) [i386-mingw32]</p>
<p><code>C:\Windows\system32>gem update</code></p>
<p>Updating installed gems<br>
Updating bundler<br>
Fetching: bundler-1.0.10.gem (100%)<br>
Successfully installed bundler-1.0.10<br>
Updating mail<br>
Fetching: mail-2.2.15.gem (100%)<br>
Successfully installed mail-2.2.15<br>
Updating rdoc<br>
Fetching: rdoc-3.5.1.gem (100%)<br>
RDoc 2.5 did not save method parameters, so you should upgrade your
rdoc-dat<br>
gem to a version >= 2.5.3.</p>
<p>To have ri data for core and stdlib you'll need to:</p>
<p>gem install rdoc-data</p>
<p>then run:</p>
<p>rdoc-data --install</p>
<p>To have ri data for you gems you'll also need to run:</p>
<p>gem rdoc --all --overwrite</p>
<p>If you don't want to rebuild the rdoc for "gem server", add
--no-rdoc.<br>
Successfully installed rdoc-3.5.1<br>
Gems updated: bundler, mail, rdoc<br>
Installing ri documentation for bundler-1.0.10...<br>
Installing ri documentation for mail-2.2.15...<br>
Installing ri documentation for rdoc-3.5.1...<br>
Installing RDoc documentation for bundler-1.0.10...<br>
Installing RDoc documentation for mail-2.2.15...<br>
Installing RDoc documentation for rdoc-3.5.1...</p>
<p>C:\Windows\system32><br></p>
<p>Updating installed gems<br>
Nothing to update</p>
<p><code>C:\Windows\system32>rdoc --version</code></p>
<p>rdoc 3.5.1</p>
<p><code>C:\Windows\system32>gem update --system</code></p>
<p>Updating RubyGems<br>
Updating RubyGems to 1.5.0<br>
Installing RubyGems 1.5.0<br>
RubyGems 1.5.0 installed</p>
<p>´╗┐=== 1.5.0 / 2011-01-31</p>
<p>Major Enhancements:<br>
... BUNCH OF TEXT...</p>
<p>RubyGems installed the following executables:<br></p>
<pre>
<code> C:/Ruby192/bin/gem</code>
</pre>
<hr>
<p>SInce teh problem is most likely with non English code-tables,
here is mine for the info:<br>
<code>C:\Windows\system32>chcp</code></p>
<p>Active code page: 852</p>
<p>C:\Windows\system32></p>
<p>Hope it helps,<br>
Hoornet</p></div>hoornettag:help.rubygems.org,2010-01-19:Comment/50652662011-02-01T19:04:43Z2011-02-01T19:04:43ZUpdating RubyGems to 1.5.0? I Can't! [SELF-SOLVED]<div><p>Yes, RDoc is the culprit here and upgrading will fix the
message.</p>
<p>Note that when the update process says <code>RubyGems 1.5.0
installed</code> that RubyGems 1.5 is fully functional.</p></div>Eric Hodel