Make your own gem Gems with Extensions Name your gem Publishing your gem Security Practices SSL Certificate Update Patterns Specification Reference Command Reference Ruby Gems API Ruby API Ruby API V2.0 Run your own gem server Resources Contributing to Ruby Gems Frequently Asked Questions Plugins Credits Common Vulnerabilities and Exposures The build command allows you to create a gem from a ruby gemspec.
The best way to build a gem is to use a Rakefile and the Gem:: Package Task which ships with Ruby Gems.
You may override these in lib/rubygems/defaults/operating_Download a gem and place it in the current directory The fetch command fetches gem files that can be stored for later use or unpacked to examine their contents.
See the build command help for an example of unpacking a gem, modifying it, then repackaging it.
If you are packaging Ruby Gems all of Ruby Gems’ defaults are in lib/rubygems/Command line argument defaults and some Ruby Gems defaults can be set in a ~/.gemrc file for individual users and a gemrc in the SYSTEM CONFIGURATION DIRECTORY for all users.These files are YAML files with the following YAML keys: :sources: A YAML array of remote gem repositories to install gems from :verbose: Verbosity of the gem command.This can be overridden with the –no-wrappers option.The wrapper allows you to choose among alternate gem versions using when a gem dependencies file (rb, Gemfile or Isolate) is present.To build a certificate for signing gems: The cleanup command removes old versions of gems from GEM_HOME that are not required to meet a dependency.If a gem is installed elsewhere in GEM_PATH the cleanup command won’t delete it. A total of 99 issues were fixed but I'm particularly excited about JRUBY-1347, JRUBY-1350, JRUBY-1401 and JRUBY-1410.These are some issues that I faced (1347 here,1350 here,1401 here,1410 here) on my primary development machine - Windows.Generates the index files for a gem server directory The generate_index command creates a set of indexes for serving gems statically.The command expects a ‘gems’ directory under the path given to the –directory option.