RubyGems Manuals. Your guide to packaging bliss. Manuals · Downloads · API Documentation. Welcome. recent changes · rss 2.0 | atom. Authors ...
Link: docs.rubygems.org
Most gems contain pure Ruby code; they should simply leave the default value in place. Some gems contain C (or other) code to be compiled into a Ruby “extension”. The should leave the default value in place unless their code will only compile on a certain type of system. Some gems con...
5.1 Basic Versions The concept of a version is central to the RubyGems packaging scheme. Every gem package is assigned a version string consisting of digits and periods (e.g. “1.3.122 ”). The gem command line program and the gem Ruby command both take version constraint arguments. The...
Most gems contain pure Ruby code; they should simply leave the default value in place. Some gems contain C (or other) code to be compiled into a Ruby “extension”. The should leave the default value in place unless their code will only compile on a certain type of system. Some gems con...
gem query --remote # shortcut: gem q -R you see will a detailed list of all the gems on the remote server. Sample output (heavily abbreviated): *** REMOTE GEMS *** activerecord (0.8.4, 0.8.3, 0.8.2, 0.8.1, 0.8.0, 0.7.6, 0.7.5) Implements the ActiveRecord pattern for ORM. BlueCloth (0....
Because RubyGems provides support for version comparisons, we want to pick a policy that works well with the RubyGems comparisons and gives the end user what they expect. We call such a policy “rational”. Also, if we call non-working policies “irrational”, then we apply a little bit o...
1.1 Really Quick Start Question: I’ve installed RubyGems and I want to install Rails (for example). How do I do that? Answer: gem install rails 1.2 What is a Gem? A gem is a packaged Ruby application or library. It has a name (e.g. rake ) and a version (e.g. 0.4.16 ). Gems are managed...
NoSecurity – Well, no security at all. Signed packages are treated like unsigned packages. LowSecurity – Pretty much no security. If a package is signed then RubyGems will make sure the signature matches the signing certificate, and that the signing certificate hasn’t expired, but tha...
Usage: gem install GEMNAME [options] Options: -v, --version VERSION Specify version of gem to install -l, --local Restrict operations to the LOCAL domain (default) -r, --remote Restrict operations to the REMOTE domain -b, --both Allow LOCAL and REMOTE operations -i, --install-dir DIR ...