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.

Changeset [6e3bede928d95cbf5fe70ab2283adce28da3401d] by David Dollar

Revision 6e3bede928d95cbf5fe70ab2283adce28da3401d, committed 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...

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