This project is archived and is in readonly mode.
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
-
Balint Erdi May 18th, 2009 @ 08:41 AM
- Tag set to gems
-
Balint Erdi May 18th, 2009 @ 08:42 AM
- Title changed from rake gems:unpack complains about writability of global gem dir to rake gems:unpack unnecessarily complains about writability of global gem dir
-
Pratik May 18th, 2009 @ 11:32 AM
- State changed from new to invalid
That sounds like a rubygem bug. But if you could submit a patch showing it's a rails issue, then it'd be great!
Thanks.
-
Balint Erdi May 20th, 2009 @ 11:19 AM
You are right. I am running rubygems 1.3.1 and the issue is fixed in 1.3.3
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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>