This project is archived and is in readonly mode.
Changeset [599f2cfb4a0e0ec4135265bf5c56b83f1450beea] by David Dollar
Revision 599f2cfb4a0e0ec4135265bf5c56b83f1450beea,
committed by David Dollar
· April 29th, 2009 @ 07:16 AM
Attempt to deal with more cases of gems with native components.
This commit adds a rudimentary check for 'unbuilt' gems, so that we can abort the application load if there are any gems that have native components that have not yet been built.
The rake task gems:build has now only builds 'unbuilt' gems as a result.
The rake task gems:build:force has been added to deal with cases of incomplete builds, or any case where you need to force the build of all of your gems.
Changes the gems:build task to get its gem list by parsing directory entries in vendor/gems, which sidesteps the chicken/egg issues involved with having a gem unpacked into vendor/gems without before its native bits are compiled.
[#2266 state:committed]
Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...
8 changed files
-
M
railties/lib/initializer.rb -
M
railties/lib/rails/gem_dependency.rb -
M
railties/lib/tasks/gems.rake -
M
railties/test/gem_dependency_test.rb -
M
railties/test/vendor/gems/dummy-gem-i-1.0.0/.specification -
M
railties/test/vendor/gems/dummy-gem-i-1.0.0/lib/dummy-gem-i.rb -
M
railties/test/vendor/gems/dummy-gem-j-1.0.0/.specification -
M
railties/test/vendor/gems/dummy-gem-j-1.0.0/lib/dummy-gem-j.rb