This project is archived and is in readonly mode.
Changeset [6e3bede928d95cbf5fe70ab2283adce28da3401d] by David Dollar
April 29th, 2009 @ 07:19 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...
Committed by David Dollar
- 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
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>