Recipe 18.1. Finding Libraries by Querying Gem Respositories
Problem
You want to find new gems to install on your system, or see which gems you already have installed.
Solution
From the command line, use gem's
query command:
$ gem ...
Recipe 18.2. Installing and Using a Gem
Problem
You want to install a gem, then use the code it provides in your programs.
Solution
You can install the latest version of a gem with the gem install
command. This command looks for an uni...
Recipe 18.3. Requiring a Specific Version of a Gem
Problem
Your program depends on an interface or feature of a gem found only in particular
versions of the library. If a user tries to run your program with the wrong version installed, you w...
Recipe 18.4. Uninstalling a Gem
Problem
You want to remove an installed gem from your Ruby installation.
Solution
From the command line, use the gem uninstall command:
$ gem uninstall blinkenlights
Attempting to uninstall gem '...
Recipe 18.5. Reading Documentation for Installed Gems
Problem
You want to read the RDoc documentation for the gems you have installed. Although some gem projects provide human-written documentation like tutorials, the generated RDoc docume...
Recipe 18.6. Packaging Your Code as a Gem
Problem
You want to package a program you wrote as a Ruby gem, possibly to distribute it on
the main gem server at rubyforge.org.
Solution
First, you must write a specification file. This fi...
Recipe 18.7. Distributing Your Gems
Problem
You've packaged your software
as a Ruby gem, but nobody knows about it. You want to make your gem easy to find and install, so that your genius does not go unrecognized.
Solution
The simplest...
AJAX popular information C# language guides Windows books and cookbooks
.......
Любые запчасти двигатели honda gx: головка цилиндра в наличии и на заказ!
С 2009 года мы стали переводить структура сайта на различные языки. Сайт теперь будет содержать книги не только на английском языке, но также и на других европейских языках, в том числе и на Русском языке.