tag:help.rubygems.org,2010-01-19:/discussions/problems/154-error-while-updating-rubygems-to-136RubyGems.org: Discussion 2011-04-07T20:59:27Ztag:help.rubygems.org,2010-01-19:Comment/16051522010-05-05T01:46:06Z2010-05-05T01:46:06ZError while updating RubyGems to 1.3.6 <div><p>Greetings,</p>
<p>I was following the MongoDB tutorial to install the Mongo Ruby
Driver Gem for Ruby. It said to first update to RubyGems 1.3.6 so I
did. And this is what I got</p>
<p>`C:>gem update --system Updating RubyGems<br>
Updating rubygems-update<br>
Successfully installed rubygems-update-1.3.6<br>
Updating RubyGems to 1.3.6<br>
Installing RubyGems 1.3.6<br>
RubyGems 1.3.6 installed<br>
ERROR: While executing gem ... (Errno::EACCES)<br></p>
<pre>
<code>Permission denied - ./Gem/cdesc-Gem.yaml</code>
</pre>
<p>` So it appears that RubyGems 1.3.6 was installed but then I got
a nasty error. Since I am a beginner to Ruby and installing gems I
have no idea what went wrong and how to fix this issue.</p>
<p>Any ideas?</p>
<p>Thanks,<br>
Adam</p></div>Adam tag:help.rubygems.org,2010-01-19:Comment/16051522010-05-05T01:52:22Z2010-05-05T01:52:26ZError while updating RubyGems to 1.3.6 <div><p>Sorry for messing up the last line of the command line results.
I will post it again in a clear manner:</p>
<p><strong>C:>gem update --system<br>
Updating RubyGems<br>
Updating rubygems-update<br>
Successfully installed rubygems-update-1.3.6<br>
Updating RubyGems to 1.3.6<br>
Installing RubyGems 1.3.6<br>
RubyGems 1.3.6 installed<br>
ERROR: While executing gem ... (Errno::EACCES)<br>
Permission denied - ./Gem/cdesc-Gem.yaml</strong></p></div>Adamtag:help.rubygems.org,2010-01-19:Comment/16051522010-05-05T03:31:11Z2010-05-05T03:31:11ZError while updating RubyGems to 1.3.6 <div><p>Seems like you're on Windows. Are you running as Administrator?
I bet you installed Ruby/RubyGems as an Administrator and you don't
have privileges to overwrite those files, etc.</p></div>Nick Quarantotag:help.rubygems.org,2010-01-19:Comment/16051522010-05-05T14:06:15Z2010-05-05T14:06:16ZError while updating RubyGems to 1.3.6 <div><p>Ahh yes. Forgot to mention that fact.</p>
<p>I am on Windows Vista x64. All I remember is installing ruby
1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]. I suppose
RubyGems was installed automatically with that version. I forget
the details of that installation but, I assume UAC prompted me to
go into temporary Admin mode as it does for most installations.</p>
<p>So do you know how I would go into Admin mode (while in the
command prompt ) to update RubyGems ?</p></div>Adamtag:help.rubygems.org,2010-01-19:Comment/16051522010-05-05T14:28:34Z2010-05-05T14:28:34ZError while updating RubyGems to 1.3.6 <div><p>I figured out that I just have to right click cmd.exe and choose
'Run as Admin'. I did that and tried to update RubyGems and this is
what happened:</p>
<p>C:>gem update --system<br>
Updating RubyGems<br>
Nothing to update</p>
<p>C:></p>
<p>So am I good to go or not? Is there a way I can check the
version of RubyGems and integrity of the install to make sure we
are at 100% health?</p></div>Adamtag:help.rubygems.org,2010-01-19:Comment/16051522010-05-05T17:23:03Z2010-05-05T17:23:03ZError while updating RubyGems to 1.3.6 <div><p>Your installation failed while building the RDoc. You can force
the update by running update_rubygems.</p></div>Eric Hodeltag:help.rubygems.org,2010-01-19:Comment/16051522010-05-05T19:49:11Z2010-05-05T19:49:34ZError while updating RubyGems to 1.3.6 <div><p>Hi <em>drbrain</em>. Ok so I did as you said and all seemed to
flow well. Please verify if the update went A-ok. Here are my
results just to be thorough:</p>
<p>C:>update_rubygems<br>
RubyGems 1.3.6 installed</p>
<p>=== 1.3.6 / 2010-02-17</p>
<p>NOTE:</p>
<p><a href="http://rubygems.org">http://rubygems.org</a> is now the
default source for downloading gems.</p>
<p>You may have sources set via ~/.gemrc, so you should replace<br>
<a href="http://gems.rubyforge.org">http://gems.rubyforge.org</a>
with <a href="http://rubygems.org">http://rubygems.org</a></p>
<p><a href=
"http://gems.rubyforge.org">http://gems.rubyforge.org</a> will
continue to work for the forseeable future.</p>
<p>New features:</p>
<ul>
<li><code>gem</code> commands
<ul>
<li>Added <code>gem push</code> and <code>gem owner</code> for
interacting with modern/Gemcutter sources</li>
<li><code>gem dep</code> now supports --prerelease.</li>
<li><code>gem fetch</code> now supports --prerelease.</li>
<li><code>gem server</code> now supports --bind. Patch <a href=
"/discussions/problems/27357" title="Discussion #27357">#27357</a>
by Bruno Michel.</li>
<li><code>gem rdoc</code> no longer overwrites built documentation.
Use --overwrite force rebuilding. Patch <a href=
"/discussions/problems/25982" title="Discussion #25982">#25982</a>
by Akinori MUSHA.</li>
</ul>
</li>
<li>Captial letters are now allowed in prerelease versions.</li>
</ul>
<p>Bug fixes:</p>
<ul>
<li>Development deps are no longer added to rubygems-update gem so
older versions can update sucessfully.</li>
<li>Installer bugs:
<ul>
<li>Prerelease gems can now depend on non-prerelease gems.</li>
<li>Development dependencies are ignored unless explicitly needed.
Bug <a href="/discussions/problems/27608" title=
"Discussion #27608">#27608</a> by Roger Pack.</li>
</ul>
</li>
<li><code>gem</code> commands
<ul>
<li><code>gem which</code> now fails if no paths were found.
Adapted patch <a href="/discussions/problems/27681" title=
"Discussion #27681">#27681</a> by Caio Chassot.</li>
<li><code>gem server</code> no longer has invalid markup. Bug
<a href="/discussions/problems/27045" title=
"Discussion #27045">#27045</a> by Eric Young.</li>
<li><code>gem list</code> and friends show both prerelease and
regular gems when --prerelease --all is given</li>
</ul>
</li>
<li>Gem::Format no longer crashes on empty files. Bug <a href=
"/discussions/problems/27292" title="Discussion #27292">#27292</a>
by Ian Ragsdale.</li>
<li>Gem::GemPathSearcher handles nil require_paths. Patch <a href=
"/discussions/problems/27334" title="Discussion #27334">#27334</a>
by Roger Pack.</li>
<li>Gem::RemoteFetcher no longer copies the file if it is where we
want it. Patch <a href="/discussions/problems/27409" title=
"Discussion #27409">#27409</a> by Jakub
Šťastný.</li>
</ul>
<p>Deprecation Notices:</p>
<ul>
<li>lib/rubygems/timer.rb has been removed.</li>
<li>Gem::Dependency#version_requirements is deprecated and will be
removed on or after August 2010.</li>
<li>Bulk index update is no longer supported.</li>
<li>Gem::manage_gems was removed in 1.3.3.</li>
<li>Time::today was removed in 1.3.3.</li>
</ul>
<hr>
<p>RubyGems installed the following executables:<br></p>
<pre>
<code> c:/Ruby19/bin/gem</code>
</pre>
<p>C:></p></div>Adamtag:help.rubygems.org,2010-01-19:Comment/16051522010-05-05T20:17:12Z2010-05-05T20:17:12ZError while updating RubyGems to 1.3.6 <div><p>Looks good.</p></div>Eric Hodel