Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This does not mean work for this issue is complete, at the present time the following items are missing: Behavior when the destination directory is not writable (exception or build into ~/.gem). Behavior for static vs shared ruby.
- Loading branch information
3a924d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how does it know what the built objects are?
3a924d3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously the extensions were installed in
$GEM_HOME/gems/my_gem-1.0/lib
, now they are installed in$GEM_HOME/extensions/my_gem-1.0/ruby_api_version/ruby_platform/
. If the directory does not exist the extension must be built.Also, there is a .gem.build_complete file created in the directory in case the build failed. If the file is missing the extension must be built. See prior commits for details