Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

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

#2669

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.

Reported by Balint Erdi · May 18th, 2009 @ 08:41 AM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Balint Erdi
  2. Balint Erdi
    Balint Erdi
    • 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

    May 18th, 2009 @ 08:42 AM

  3. Pratik
    Pratik
    • 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.

    May 18th, 2009 @ 11:32 AM

  4. Balint Erdi
    Balint Erdi

    You are right. I am running rubygems 1.3.1 and the issue is fixed in 1.3.3

    May 20th, 2009 @ 11:19 AM