Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #11513 (closed enhancement: fixed)

Opened 5 months ago

Last modified 5 months ago

[PATCH] Added gems:build task and modified gems:unpack to unpack all by default

Reported by: ddollar Assigned to: core
Priority: normal Milestone: 2.x
Component: Railties Version: edge
Severity: normal Keywords:
Cc:

Description

This patch adds the rake task gems:build to build native extensions for any gems that you have unpacked through gems:unpack

This patch also modifies the gems:unpack task to unpack all configured gems if no gem is specified on the command line.

Usage:

rake gems:unpack             # unpacks all gems
rake gems:unpack GEM=mygem   # unpacks only the gem 'mygem'

rake gems:build              # builds all unpacked gems
rake gems:build GEM=mygem    # builds only the gem 'mygem'

Attachments

gems_build_and_unpack_all.diff (3.8 kB) - added by ddollar on 04/02/08 16:59:00.

Change History

04/02/08 16:55:39 changed by ddollar

  • type changed from defect to enhancement.

04/02/08 16:59:00 changed by ddollar

  • attachment gems_build_and_unpack_all.diff added.

04/02/08 17:48:33 changed by rick

  • status changed from new to closed.
  • resolution set to fixed.

(In [9215]) Flesh out rake gems:unpack to unpack all gems, and add rake gems:build for native extensions. Closes #11513 [ddollar]

04/02/08 20:48:49 changed by matthuhiggins

  • status changed from closed to reopened.
  • resolution deleted.

You forgot to add the file lib/rails/gem_builder.rb, which is in the patch.

04/03/08 11:24:50 changed by lifofifo

  • status changed from reopened to closed.
  • resolution set to fixed.

Missing file added in [9216]