gem build <GEMSPEC_FILE>
Build a gem from a gemspec
Arguments
Name | Description |
---|---|
GEMSPEC_FILE | Gemspec file name to build a gem for |
Options
Name | Description |
---|---|
--platform <PLATFORM> | Specify the platform of gem to build |
--force | Skip validation of the spec |
--strict | Consider warnings as errors when validating the spec |
-o, --output <FILE> | Output gem with the given filename |
-C <PATH> | Run as if gem build was started in <PATH> instead of the current working directory |