This project is archived and is in readonly mode.

rake gems:refresh_specs should refresh all frozen gems
Reported by Graeme Mathieson | May 20th, 2009 @ 07:04 AM | in 2.x
Attached is a patch so that:
rake gems:refresh_specs
will refresh all frozen specs, not just current_gems. That way, the specs of unpacked dependencies will be refreshed too.
Comments and changes to this ticket
- 
            
         David Dollar May 27th, 2009 @ 05:39 PMLooks good. If you could add a second patch rebased against master (the Symbol#to_proc shortcut has been unrolled there) it would probably help out the committer. 
- 
         
- 
            
         Graeme Mathieson June 9th, 2009 @ 05:32 AMAwesome, thanks Matt! I'm happy for this ticket to be closed alongside #2773 being resolved. 
- 
         Repository June 9th, 2009 @ 08:58 AM- State changed from new to committed
 (from [2c3d2906b255b1cb3aeb5d3abb9fe2dcb2872c28]) Fix several issues with the 2.3.2 gem loader. Incorporates the following: - 
migrates back small change to gems:build:force from bfc1609a501fc3ed442685819de5bcdb5fbada1c to finish closing #2266. 
- 
unrolls to_proc calls in gems.rake, to match the change in master. 
- 
fixes #2722 by passing the options hash to dependencies during build. (includes a test) 
- 
fixes #2721 by loading the specification directly in from_directory_name. Adds an option to opt-out of specification loading when needed (in gems:refresh_specs, for instance). Includes tests. 
- 
fixes #2679 by refreshing specs for all frozen gems rather than just gems loaded from the environment. 
- 
fixes #2678 by passing the options hash to dependencies during unpack. 
 Signed-off-by: Michael Koziarski michael@koziarski.com 
 http://github.com/rails/rails/commit/2c3d2906b255b1cb3aeb5d3abb9fe2...
- 
         Repository June 9th, 2009 @ 08:58 AM(from [41a94048e55e082f373e19d9fcee311860aaba9e]) Fix several issues with the 2.3.2 gem loader. Incorporates the following: - 
migrates back small change to gems:build:force from bfc1609a501fc3ed442685819de5bcdb5fbada1c to finish closing #2266. 
- 
unrolls to_proc calls in gems.rake, to match the change in master. 
- 
fixes #2722 by passing the options hash to dependencies during build. (includes a test) 
- 
fixes #2721 by loading the specification directly in from_directory_name. Adds an option to opt-out of specification loading when needed (in gems:refresh_specs, for instance). Includes tests. 
- 
fixes #2679 by refreshing specs for all frozen gems rather than just gems loaded from the environment. 
- 
fixes #2678 by passing the options hash to dependencies during unpack. 
 Signed-off-by: Michael Koziarski michael@koziarski.com 
 http://github.com/rails/rails/commit/41a94048e55e082f373e19d9fcee31...
- 
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>
People watching this ticket
Attachments
Tags
Referenced by
- 
         2773 
          Rollup: Fix issues with 2.3.2 gem loader
        fixes #2679 by refreshing specs for all frozen gems
rathe... 2773 
          Rollup: Fix issues with 2.3.2 gem loader
        fixes #2679 by refreshing specs for all frozen gems
rathe...
- 
         2722 
          Force gem dependencies to rebuild if I run rake gems:build:force
        fixes #2679 by refreshing specs for all frozen gems
rathe... 2722 
          Force gem dependencies to rebuild if I run rake gems:build:force
        fixes #2679 by refreshing specs for all frozen gems
rathe...
- 
         2721 
          Vendor gem failing rake gems:build
        fixes #2679 by refreshing specs for all frozen gems
rathe... 2721 
          Vendor gem failing rake gems:build
        fixes #2679 by refreshing specs for all frozen gems
rathe...
- 
         2679 
          rake gems:refresh_specs should refresh all frozen gems
        fixes #2679 by refreshing specs for all frozen gems
rathe... 2679 
          rake gems:refresh_specs should refresh all frozen gems
        fixes #2679 by refreshing specs for all frozen gems
rathe...
- 
         2678 
          Recursively unpack gem dependencies *and their dependencies*
        fixes #2679 by refreshing specs for all frozen gems
rathe... 2678 
          Recursively unpack gem dependencies *and their dependencies*
        fixes #2679 by refreshing specs for all frozen gems
rathe...
- 
         2722 
          Force gem dependencies to rebuild if I run rake gems:build:force
        fixes #2679 by refreshing specs for all frozen gems
rathe... 2722 
          Force gem dependencies to rebuild if I run rake gems:build:force
        fixes #2679 by refreshing specs for all frozen gems
rathe...
- 
         2721 
          Vendor gem failing rake gems:build
        fixes #2679 by refreshing specs for all frozen gems
rathe... 2721 
          Vendor gem failing rake gems:build
        fixes #2679 by refreshing specs for all frozen gems
rathe...
- 
         2679 
          rake gems:refresh_specs should refresh all frozen gems
        fixes #2679 by refreshing specs for all frozen gems
rathe... 2679 
          rake gems:refresh_specs should refresh all frozen gems
        fixes #2679 by refreshing specs for all frozen gems
rathe...
- 
         2678 
          Recursively unpack gem dependencies *and their dependencies*
        fixes #2679 by refreshing specs for all frozen gems
rathe... 2678 
          Recursively unpack gem dependencies *and their dependencies*
        fixes #2679 by refreshing specs for all frozen gems
rathe...
 David Dollar
      David Dollar
 Graeme Mathieson
      Graeme Mathieson
 Matt Jones
      Matt Jones