This project is archived and is in readonly mode.

#2669 ✓invalid
Balint Erdi

rake gems:unpack unnecessarily complains about writability of global gem dir

Reported by Balint Erdi | May 18th, 2009 @ 08:41 AM | in 2.x

If I run rake gems:unpack, rubygems will show the following warning:

   WARNING:  Installing to ~/.gem since /usr/local/lib/ruby/gems/1.8 and /usr/local/bin aren't both writable.

That, however is very misleading since rails will -correctly- install (unpack) the gems to the vendor/gems directory of the rails application not to ~/.gem.

The writability of the global gem directories (/usr/local/lib/ruby/gems/1.8) should not be a concern here so the warning message should simply be suppressed since it only misleads the user.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

People watching this ticket