ライブラリ
- ビルトイン (1)
- e2mmap (13)
- rake (1)
-
rake
/ gempackagetask (3) - rubygems (18)
-
rubygems
/ builder (3) -
rubygems
/ command (26) -
rubygems
/ command _ manager (8) -
rubygems
/ commands / build _ command (5) -
rubygems
/ commands / dependency _ command (6) -
rubygems
/ commands / help _ command (2) -
rubygems
/ commands / lock _ command (2) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ commands / update _ command (1) -
rubygems
/ commands / which _ command (4) -
rubygems
/ config _ file (21) -
rubygems
/ custom _ require (1) -
rubygems
/ defaults (9) -
rubygems
/ dependency (7) -
rubygems
/ dependency _ installer (8) -
rubygems
/ dependency _ list (7) -
rubygems
/ digest / digest _ adapter (3) -
rubygems
/ digest / md5 (1) -
rubygems
/ digest / sha1 (1) -
rubygems
/ digest / sha2 (1) -
rubygems
/ doc _ manager (3) -
rubygems
/ ext / builder (2) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ format (5) -
rubygems
/ gem _ openssl (3) -
rubygems
/ gem _ path _ searcher (7) -
rubygems
/ gem _ runner (1) -
rubygems
/ indexer (9) -
rubygems
/ installer (14) -
rubygems
/ old _ format (6) -
rubygems
/ package (1) -
rubygems
/ package / f _ sync _ dir (1) -
rubygems
/ package / tar _ header (23) -
rubygems
/ package / tar _ input (4) -
rubygems
/ package / tar _ output (6) -
rubygems
/ package / tar _ reader (4) -
rubygems
/ package / tar _ reader / entry (12) -
rubygems
/ package / tar _ writer (14) -
rubygems
/ platform (13) -
rubygems
/ remote _ fetcher (16) -
rubygems
/ requirement (16) -
rubygems
/ security (23) -
rubygems
/ server (11) -
rubygems
/ source _ index (25) -
rubygems
/ source _ info _ cache (30) -
rubygems
/ source _ info _ cache _ entry (4) -
rubygems
/ spec _ fetcher (12) -
rubygems
/ specification (83) -
rubygems
/ uninstaller (6) -
rubygems
/ user _ interaction (31) -
rubygems
/ validator (4) -
rubygems
/ version (13)
クラス
-
Gem
:: Builder (3) -
Gem
:: Command (26) -
Gem
:: CommandManager (8) -
Gem
:: Commands :: BuildCommand (5) -
Gem
:: Commands :: DependencyCommand (6) -
Gem
:: Commands :: HelpCommand (2) -
Gem
:: Commands :: LockCommand (2) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: Commands :: WhichCommand (3) -
Gem
:: ConfigFile (21) -
Gem
:: Dependency (7) -
Gem
:: DependencyInstaller (8) -
Gem
:: DependencyList (7) -
Gem
:: DigestAdapter (3) -
Gem
:: DocManager (3) -
Gem
:: Ext :: Builder (2) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: FileOperations (1) -
Gem
:: Format (5) -
Gem
:: GemPathSearcher (7) -
Gem
:: GemRunner (1) -
Gem
:: Indexer (9) -
Gem
:: Installer (14) -
Gem
:: LoadError (2) -
Gem
:: OldFormat (6) -
Gem
:: Package :: TarHeader (23) -
Gem
:: Package :: TarInput (3) -
Gem
:: Package :: TarOutput (5) -
Gem
:: Package :: TarReader (3) -
Gem
:: Package :: TarReader :: Entry (12) -
Gem
:: Package :: TarWriter (8) -
Gem
:: Package :: TarWriter :: BoundedStream (4) -
Gem
:: Package :: TarWriter :: RestrictedStream (2) -
Gem
:: Platform (13) -
Gem
:: RemoteFetcher (14) -
Gem
:: RemoteFetcher :: FetchError (2) -
Gem
:: Requirement (16) -
Gem
:: Security :: Policy (9) -
Gem
:: Security :: Signer (3) -
Gem
:: Server (11) -
Gem
:: SourceIndex (25) -
Gem
:: SourceInfoCache (30) -
Gem
:: SourceInfoCacheEntry (4) -
Gem
:: SpecFetcher (12) -
Gem
:: Specification (83) -
Gem
:: StreamUI (12) -
Gem
:: StreamUI :: SilentProgressReporter (3) -
Gem
:: StreamUI :: SimpleProgressReporter (3) -
Gem
:: StreamUI :: VerboseProgressReporter (3) -
Gem
:: Uninstaller (6) -
Gem
:: Validator (4) -
Gem
:: Version (13) -
Rake
:: GemPackageTask (3) - String (1)
モジュール
- Exception2MessageMapper (13)
- Gem (26)
-
Gem
:: DefaultUserInteraction (2) -
Gem
:: InstallUpdateOptions (1) -
Gem
:: LocalRemoteOptions (6) -
Gem
:: Package :: FSyncDir (1) -
Gem
:: QuickLoader (2) -
Gem
:: SSL (2) -
Gem
:: Security (11) -
Gem
:: UserInteraction (8) - Kernel (3)
キーワード
- <=> (2)
- == (2)
- === (2)
- =~ (3)
- AlmostNoSecurity (1)
- CURRENT (1)
-
CURRENT
_ SPECIFICATION _ VERSION (1) - ConfigMap (1)
-
DEFAULT
_ BACKTRACE (1) -
DEFAULT
_ BENCHMARK (1) -
DEFAULT
_ BULK _ THRESHOLD (1) -
DEFAULT
_ OPTIONS (1) -
DEFAULT
_ UPDATE _ SOURCES (1) -
DEFAULT
_ VERBOSITY (1) -
DIGEST
_ SHA1 (1) - DIRECTORIES (1)
-
DOC
_ TEMPLATE (1) - EXAMPLES (1)
- EXT (1)
- FIELDS (1)
- Fail (2)
- GemPaths (1)
- GemVersions (1)
- HELP (1)
- HighSecurity (1)
- LowSecurity (1)
-
MARSHAL
_ FIELDS (1) - MD5 (1)
- Marshal (1)
- MediumSecurity (1)
-
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 1 . 0 (1) -
NEWS for Ruby 2
. 2 . 0 (1) -
NONEXISTENT
_ SPECIFICATION _ VERSION (1) - NoSecurity (1)
-
OPERATING
_ SYSTEM _ DEFAULTS (1) - OPS (1)
- OPT (1)
-
PACK
_ FORMAT (1) -
PKEY
_ RSA (1) - PLATFORMS (1)
-
PLATFORM
_ DEFAULTS (1) - Policies (1)
-
RDOC
_ CSS (1) - RUBY (1)
- Raise (2)
- ReFe (1)
- Requirement (1)
- RubyGemsPackageVersion (1)
- RubyGemsVersion (1)
- Ruby用語集 (1)
- SHA1 (1)
- SHA256 (1)
-
SPECIFICATION
_ VERSION _ HISTORY (1) -
SYSTEM
_ WIDE _ CONFIG _ FILE (1) - TODAY (1)
- TYPES (1)
- TarInput (1)
- TarOutput (1)
- TarReader (1)
-
UNPACK
_ FORMAT (1) -
WIN
_ PATTERNS (1) - WhichCommand (1)
- [] (2)
-
_ dump (1) -
_ load (1) - abbreviate (1)
-
add
_ bindir (1) -
add
_ bulk _ threshold _ option (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ extra _ args (1) -
add
_ file (2) -
add
_ file _ simple (2) -
add
_ gem _ contents (1) -
add
_ proxy _ option (1) -
add
_ runtime _ dependency (1) -
add
_ signatures (1) -
add
_ spec (1) -
add
_ specs (1) -
add
_ trusted _ cert (1) -
add
_ update _ sources _ option (1) - alert (2)
-
alert
_ error (2) -
alert
_ warning (2) - alien (1)
-
app
_ script _ text (1) - args (1)
- arguments (3)
-
array
_ attribute (1) -
array
_ attributes (1) -
as
_ list (1) - ask (2)
-
ask
_ if _ ok (1) -
ask
_ yes _ no (2) -
assign
_ defaults (1) - attribute (1)
-
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) -
attribute
_ names (1) - attributes (1)
- autorequire (1)
- backtrace (1)
- begins? (1)
- benchmark (1)
-
bin
_ dir (2) - bind (1)
- bindir (1)
- both? (1)
- build (4)
-
build
_ args (1) -
build
_ cert (1) -
build
_ self _ signed _ cert (1) -
bulk
_ threshold (1) - bump (1)
-
bytes
_ read (1) - cache (1)
-
cache
_ data (2) -
cache
_ dir (1) -
cache
_ file (1) -
cert
_ chain (2) - checksum (1)
-
choose
_ from _ list (2) -
class
_ name (1) -
clear
_ paths (1) - close (3)
- closed? (2)
-
collect
_ specs (1) - command (1)
-
command
_ names (1) -
compact
_ specs (1) - complain (1)
- concat (1)
-
config
_ file _ name (1) -
configured
_ args (1) -
connection
_ for (1) - correct? (1)
- count (3)
- cpu (1)
- create (2)
- crypt (1)
- date (1)
-
def
_ exception (2) - default (1)
-
default
_ bindir (1) -
default
_ dir (1) -
default
_ exec _ format (1) -
default
_ executable (1) -
default
_ path (1) -
default
_ sources (1) -
default
_ system _ source _ cache _ dir (1) -
default
_ user _ source _ cache _ dir (1) -
default
_ value (1) - defaults (1)
-
defaults
_ str (1) - dependencies (1)
-
dependencies
_ ok? (1) -
dependency
_ order (1) -
dependent
_ gems (1) - description (2)
-
dest
_ directory (1) -
development
_ dependencies (1) - devmajor (1)
- devminor (1)
- digest (1)
- dir (2)
- directory (1)
- directory? (1)
- done (3)
- download (1)
- dump (1)
- each (3)
- email (1)
- empty? (1)
-
ensure
_ dependency (1) - eof? (1)
- eql? (1)
- errs (1)
- escape (1)
- exact? (1)
-
exec
_ format (1) - executable (1)
- executables (1)
- execute (3)
-
extend
_ object (1) - extensions (1)
-
extra
_ args (1) -
extra
_ rdoc _ files (1) - fail (1)
- fetch (1)
-
fetch
_ path (1) -
fetch
_ size (1) -
fetch
_ spec (1) - fetcher (2)
- file? (1)
-
file
_ entries (2) -
file
_ name (1) -
file
_ uri? (1) - files (1)
- find (1)
-
find
_ all (1) -
find
_ command (1) -
find
_ command _ possibilities (1) -
find
_ gems (1) -
find
_ gems _ with _ sources (1) -
find
_ matching (1) -
find
_ name (2) -
find
_ paths (1) -
find
_ reverse _ dependencies (1) -
find
_ spec _ by _ name _ and _ version (1) - flush (1)
-
formatted
_ program _ filename (1) - from (1)
-
from
_ file _ by _ path (2) -
from
_ gems _ in (1) -
from
_ installed _ gems (1) -
from
_ io (2) -
from
_ source _ index (1) -
from
_ yaml (1) -
fsync
_ dir (1) -
full
_ gem _ path (1) -
full
_ name (2) -
gather
_ dependencies (1) -
gem
_ file (1) -
gem
_ file _ list (1) -
gem
_ home (2) -
gem
_ path (2) -
gem
_ paths (1) -
gem
_ signature (1) -
gem
_ spec (1) -
gems
_ to _ install (1) -
get
_ all _ gem _ names (1) -
get
_ file _ uri _ path (1) -
get
_ one _ gem _ name (1) -
get
_ one _ optional _ argument (1) -
get
_ path (1) -
get
_ proxy _ from _ env (1) - getc (1)
- gid (1)
- gname (1)
- handles? (1)
-
has
_ rdoc (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - hash (1)
- header (1)
- hexdigest (1)
-
home
_ install _ warning (1) - homepage (1)
-
index
_ signature (1) -
init
_ gemspecs (1) - ins (1)
- install (2)
-
install
_ update _ defaults _ str (1) -
installation
_ path (1) -
installation
_ satisfies _ dependency? (1) -
installed
_ gems (1) -
installed
_ spec _ directories (1) - instance (1)
- key (1)
-
latest
_ cache _ data (1) -
latest
_ cache _ file (1) -
latest
_ specs (3) -
latest
_ system _ cache _ file (2) -
latest
_ user _ cache _ file (2) -
legacy
_ repos (1) - length (1)
-
lib
_ dirs _ for (1) -
lib
_ files (1) - limit (1)
- linkname (1)
- list (2)
- load (1)
-
load
_ file (1) -
load
_ gems _ in (1) -
load
_ gemspec (1) -
load
_ gemspecs (1) -
load
_ specification (1) -
load
_ specs (1) - loaded? (1)
-
loaded
_ from (1) - local (1)
- local? (1)
- magic (1)
-
mark
_ version (1) -
marshal
_ dump (1) -
marshal
_ load (1) -
marshal
_ version (1) - match (1)
-
matching
_ file? (1) -
matching
_ files (1) - mathn (1)
- mkdir (1)
- mode (1)
- mtime (1)
- multitask (1)
- name (4)
- new (24)
- none? (1)
- normalize (1)
-
normalize
_ uri (1) -
normalize
_ yaml _ input (1) - ok? (1)
-
ok
_ to _ remove? (1) -
only
_ signed (1) -
only
_ trusted (1) - open (1)
-
open
_ uri _ or _ path (1) -
original
_ name (1) -
original
_ platform (1) - os (1)
- outdated (1)
- outs (1)
-
overwrite
_ accessor (1) - parse (1)
- path (2)
-
path
_ ok? (1) -
path
_ warning (1) - platform (1)
- pos (1)
-
power
_ assert (1) - prefix (2)
- prerelease? (2)
-
pretty
_ print (1) -
print
_ dependencies (1) -
process
_ args (1) -
program
_ name (1) -
progress
_ reporter (1) - quick (1)
-
rake
/ gempackagetask (1) - rdoc (1)
-
rdoc
_ installed? (1) - read (1)
-
read
_ all _ cache _ data (1) -
read
_ cache _ data (1) -
read
_ only (1) -
really
_ verbose (1) - redirector (1)
- refresh (2)
- refresh! (1)
-
register
_ command (1) - release (1)
- remote? (1)
-
remove
_ by _ name (1) -
remove
_ leading _ dot _ dir (1) -
remove
_ spec (1) - request (1)
- require (1)
-
require
_ path (1) -
require
_ paths (1) -
required
_ attribute (1) -
required
_ attribute? (1) -
required
_ attributes (1) -
required
_ ruby _ version (1) -
required
_ rubygems _ version (1) - requirements (1)
-
requirements
_ list (1) - reset (2)
-
reset
_ cache _ data (1) -
reset
_ cache _ file (1) -
reset
_ cache _ for (1) - rewind (2)
- root (1)
- ruby (1)
-
ruby
_ engine (1) - rubygems (1)
-
rubygems
/ commands / build _ command (1) -
rubygems
/ commands / cert _ command (1) -
rubygems
/ commands / check _ command (1) -
rubygems
/ commands / cleanup _ command (1) -
rubygems
/ commands / contents _ command (1) -
rubygems
/ commands / dependency _ command (1) -
rubygems
/ commands / environment _ command (1) -
rubygems
/ commands / fetch _ command (1) -
rubygems
/ commands / generate _ index _ command (1) -
rubygems
/ commands / help _ command (1) -
rubygems
/ commands / install _ command (1) -
rubygems
/ commands / list _ command (1) -
rubygems
/ commands / lock _ command (1) -
rubygems
/ commands / mirror _ command (1) -
rubygems
/ commands / outdated _ command (1) -
rubygems
/ commands / pristine _ command (1) -
rubygems
/ commands / query _ command (1) -
rubygems
/ commands / rdoc _ command (1) -
rubygems
/ commands / search _ command (1) -
rubygems
/ commands / server _ command (1) -
rubygems
/ commands / sources _ command (1) -
rubygems
/ commands / specification _ command (1) -
rubygems
/ commands / uninstall _ command (1) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ package / tar _ input (1) -
rubygems
/ package / tar _ output (1) -
rubygems
/ package / tar _ reader (1) -
rubygems
/ security (1) -
rubygems
_ version (1) - run (4)
-
runtime
_ dependencies (1) - sanitize (1)
-
sanitize
_ string (1) -
satisfied
_ by? (1) -
satisfies
_ requirement? (1) - say (2)
- search (3)
-
search
_ with _ source (2) -
set
_ cache _ data (1) - shebang (1)
-
show
_ help (1) -
show
_ lookup _ failure (1) -
sign
_ cert (1) -
signing
_ key (1) - size (4)
-
source
_ index (2) - spec (4)
-
spec
_ dirs (1) -
spec
_ path (1) -
spec
_ predecessors (1) - specific? (1)
-
specific
_ extra _ args (1) -
specific
_ extra _ args _ hash (1) - specification (1)
-
specification
_ version (1) - specs (2)
-
ssl
_ available? (1) - success (1)
- summary (2)
-
system
_ cache _ file (2) -
terminate
_ interaction (2) -
test
/ unit (1) -
test
_ file (1) -
test
_ files (1) -
test
_ suite _ file (1) -
to
_ a (1) -
to
_ ruby (1) -
to
_ s (4) -
trusted
_ cert _ path (1) -
try
_ file (1) - type (1)
- typeflag (1)
- ubygems (1)
- ui (2)
- uid (1)
- uname (1)
- unescape (1)
- update (2)
-
update
_ sources (1) - updated (3)
- uri (1)
- usage (3)
-
user
_ cache _ file (2) -
user
_ dir (1) - validate (1)
- verbose (1)
-
verify
_ chain (1) -
verify
_ data (1) -
verify
_ gem (2) -
verify
_ gem _ file (1) -
verify
_ root (1) -
verify
_ signer (1) - version (4)
-
version
_ requirement (1) -
version
_ requirements (1) -
warn
_ legacy (1) -
when
_ invoked (1) -
which
_ to _ update (1) -
win
_ platform? (1) -
windows
_ stub _ script (1) - write (2)
-
write
_ cache (1) - written (1)
- xmlrpc (1)
- yaml (1)
- yaml? (1)
-
zipped
_ stream (1)
検索結果
先頭5件
-
Kernel
# gem(gem _ name , *version _ requirements) -> bool (55495.0) -
$LOAD_PATH に Ruby Gem を追加します。
$LOAD_PATH に Ruby Gem を追加します。
指定された Gem をロードする前にその Gem が必要とする Gem をロードします。
バージョン情報を省略した場合は、最も高いバージョンの Gem をロードします。
指定された Gem やその Gem が必要とする Gem が見つからなかった場合は
Gem::LoadError が発生します。
バージョンの指定方法に関しては Gem::Version を参照してください。
rubygems ライブラリがライブラリバージョンの衝突を検出しない限り、
gem メソッドは全ての require メソッドよりも前に実行されます。
... -
Gem
:: RubyGemsPackageVersion -> String (45601.0) -
このライブラリのバージョンを表す文字列。
このライブラリのバージョンを表す文字列。 -
Gem
:: RubyGemsVersion -> String (45601.0) -
このライブラリのバージョンを表す文字列。
このライブラリのバージョンを表す文字列。 -
Gem
:: GemPathSearcher # init _ gemspecs -> [Gem :: Specification] (37000.0) -
インストール済みの Gem の Gem::Specification のリストを返します。
インストール済みの Gem の Gem::Specification のリストを返します。
リストはアルファベット順かつバージョンの新しい順にソートされています。 -
Gem
:: Validator # verify _ gem(gem _ data) -> () (28045.0) -
与えられた Gem ファイルの内容の MD5 チェックサムを検証します。
与えられた Gem ファイルの内容の MD5 チェックサムを検証します。
@param gem_data Gem ファイルの内容を文字列で指定します。
@raise Gem::VerificationError 空の Gem ファイルを指定した場合に発生します。
@raise Gem::VerificationError MD5 チェックサムが不正である場合に発生します。 -
Gem
:: Validator # verify _ gem _ file(gem _ path) -> () (28027.0) -
与えられた Gem ファイルのパスを使用して MD5 チェックサムを検証します。
与えられた Gem ファイルのパスを使用して MD5 チェックサムを検証します。
@param gem_path Gem ファイルのパスを指定します。
@raise Gem::VerificationError Gem ファイルが見つからなかった場合に発生します。 -
Gem
:: SourceIndex # gem _ signature(gem _ full _ name) -> String (27991.0) -
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
与えられた名前を持つ Gem の SHA256 ダイジェストを返します。
@param gem_full_name Gem の名前を指定します。 -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (27952.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。 -
Gem
:: Package :: TarInput # load _ gemspec(io) -> Gem :: Specification | nil (27922.0) -
YAML 形式の gemspec を io から読み込みます。
YAML 形式の gemspec を io から読み込みます。
@param io 文字列か IO オブジェクトを指定します。
@see Gem::Specification.from_yaml -
Gem
:: SourceIndex . from _ installed _ gems(*deprecated) -> Gem :: SourceIndex (27922.0) -
与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。
与えられたパスをもとに、インスタンスを作成するファクトリメソッドです。
@param deprecated この引数は非推奨です。後方互換性のためにのみ提供されているので使用すべきではありません。
@see Gem::SourceIndex.from_gems_in -
Rake
:: GemPackageTask # gem _ spec -> Gem :: Specification (27907.0) -
package ターゲットで使用する gemspec を返します。
package ターゲットで使用する gemspec を返します。
gemspec にはパッケージ名、バージョン、パッケージに含まれるファイルなどが定義
されているので、それらを明示的に指定する必要はありません。 -
Gem
:: SourceIndex . from _ gems _ in(*spec _ dirs) -> Gem :: SourceIndex (27904.0) -
引数で与えられたディレクトリに置かれている Ruby スクリプト形式の gemspec ファイルを使用して 新しいインスタンスを作成します。
引数で与えられたディレクトリに置かれている Ruby スクリプト形式の gemspec ファイルを使用して
新しいインスタンスを作成します。
@param spec_dirs gemspec ファイルが置かれているディレクトリを一つ以上指定します。 -
Gem
. # source _ index -> Gem :: SourceIndex (27784.0) -
Gem.#path にある Gem::Specification のキャッシュを返します。 インストールされている Gem::Specification のインデックスを返します
Gem.#path にある Gem::Specification のキャッシュを返します。
インストールされている Gem::Specification のインデックスを返します
@see Gem::SourceIndex, Gem::Specification -
Gem
:: Specification # dependent _ gems -> Array (27751.0) -
この Gem に依存している全ての Gem の情報のリストを返します。
この Gem に依存している全ての Gem の情報のリストを返します。
それぞれのエントリは配列になっており、各要素は以下のようになっています。
(0) Gem::Specification
(1) Gem::Dependency
(2) Gem::Specification の配列 -
Gem
:: Package :: TarOutput # add _ gem _ contents {|data _ tar _ writer| . . . } -> self (27736.0) -
gem-format な tar ファイル内の data.tar.gz にファイルを追加するためのメ ソッドです。
gem-format な tar ファイル内の data.tar.gz にファイルを追加するためのメ
ソッドです。
ブロックには data.tar.gz に紐付いた Gem::Package::TarWriter のイ
ンスタンスが渡されます。このブロックパラメータには
Gem::Specification を追加するための metadata, metadata= という特
異メソッドが追加されています。 -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (27721.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先にきます。
@param dep Gem::Dependency のインスタンスを指定します。 -
Gem
:: Commands :: WhichCommand # gem _ paths(spec) -> Array (27718.0) -
与えられた Gem::Specification のインスタンスからその Gem が require するファイルのあるディレクトリをまとめて返します。
与えられた Gem::Specification のインスタンスからその Gem が
require するファイルのあるディレクトリをまとめて返します。
@param spec Gem::Specification のインスタンスを指定します。 -
Gem
:: Commands :: DependencyCommand # find _ gems(name , source _ index) -> Hash (27703.0) -
与えられた Gem の名前をインデックスから検索します。
与えられた Gem の名前をインデックスから検索します。
@param name Gem の名前を指定します。
@param source_index Gem::SourceIndex のインスタンスを指定します。
@see Gem::SourceIndex#search -
Gem
:: DependencyInstaller # installed _ gems -> Array (27697.0) -
Gem::DependencyInstaller#install でインストールされた Gem のリストを返します。
Gem::DependencyInstaller#install でインストールされた Gem のリストを返します。 -
Gem
:: Command # get _ all _ gem _ names -> Array (27688.0) -
コマンドラインで与えられた Gem の名前を全て取得して返します。
コマンドラインで与えられた Gem の名前を全て取得して返します。
@raise Gem::CommandLineError コマンドライン引数から Gem の名前を取得できない場合に発生します。 -
Gem
:: Command # get _ one _ gem _ name -> String (27688.0) -
コマンドラインで与えられた Gem の名前を一つ取得して返します。
コマンドラインで与えられた Gem の名前を一つ取得して返します。
@raise Gem::CommandLineError コマンドライン引数から Gem の名前を一つだけ取得できない場合に発生します。 -
Gem
:: Format # gem _ path -> String (27652.0) -
Gem のパスを返します。
Gem のパスを返します。 -
Gem
:: Indexer # gem _ file _ list -> Array (27652.0) -
インデックスを作成するために使用する Gem ファイルのリストを返します。
インデックスを作成するために使用する Gem ファイルのリストを返します。 -
Gem
:: Installer # gem _ home -> String (27652.0) -
Gem のインストール先を返します。
Gem のインストール先を返します。 -
Gem
:: OldFormat # gem _ path -> String (27652.0) -
Gem のパスを返します。
Gem のパスを返します。 -
Gem
:: Specification # full _ gem _ path -> String (27652.0) -
この Gem パッケージへのフルパスを返します。
この Gem パッケージへのフルパスを返します。 -
Gem
:: Uninstaller # gem _ home -> String (27652.0) -
Gem がインストールされているディレクトリを返します。
Gem がインストールされているディレクトリを返します。 -
Rake
:: GemPackageTask # gem _ file -> String (27652.0) -
Gem パッケージの名前を返します。
Gem パッケージの名前を返します。 -
Gem
:: DependencyInstaller # gems _ to _ install -> Array (27649.0) -
依存関係によりインストールされる予定の Gem のリストを返します。
依存関係によりインストールされる予定の Gem のリストを返します。 -
Gem
:: Specification # rubygems _ version -> String (27649.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Gem
:: Security :: Policy # verify _ gem(signature , data , chain , time = Time . now) -> Array (27622.0) -
与えられたデータを与えられた署名と証明書チェーンで検証します。
与えられたデータを与えられた署名と証明書チェーンで検証します。
@param signature 署名を指定します。
@param data 検証するデータを指定します。
@param chain 検証で使用する証明書チェーンを指定します。
@param time この時刻に有効であることを検証する。
@raise Gem::Security::Exception 検証に失敗した場合に発生します。 -
Gem
:: Commands :: BuildCommand # load _ gemspecs(filename) -> Array (27601.0) -
gemspec ファイルをロードします。
gemspec ファイルをロードします。
@param filename ファイル名を指定します。 -
Gem
:: QuickLoader :: GemPaths -> Hash (27601.0) -
prelude.c で定義されている内部用の定数です。
prelude.c で定義されている内部用の定数です。 -
Gem
:: QuickLoader :: GemVersions -> Hash (27601.0) -
prelude.c で定義されている内部用の定数です。
prelude.c で定義されている内部用の定数です。 -
Gem
:: SourceIndex # load _ gems _ in(*spec _ dirs) -> self (27601.0) -
引数で与えられたディレクトリに含まれる gemspec から自身を再構築して返します。
引数で与えられたディレクトリに含まれる gemspec から自身を再構築して返します。
@param spec_dirs gemspec の含まれているディレクトリを複数指定します。 -
Gem
. # clear _ paths -> nil (27433.0) -
Gem.#dir, Gem.#path の値をリセットします。
Gem.#dir, Gem.#path の値をリセットします。
次に Gem.#dir, Gem.#path が呼ばれた時は、値を最初から計算します。
このメソッドは主にユニットテストの独立性を提供するために使用します。 -
Gem
. # dir -> String (27349.0) -
Gem のインストールされているディレクトリを返します。
Gem のインストールされているディレクトリを返します。 -
Gem
. # path -> Array (27349.0) -
Gem を検索するパスの配列を返します。
Gem を検索するパスの配列を返します。 -
Gem
. default _ dir -> String (27349.0) -
デフォルトの Gem パッケージをインストールするディレクトリを返します。
デフォルトの Gem パッケージをインストールするディレクトリを返します。 -
Gem
. default _ path -> [String] (27349.0) -
デフォルトの Gem パッケージをロードするディレクトリのリストを返します。
デフォルトの Gem パッケージをロードするディレクトリのリストを返します。 -
Gem
. user _ dir -> String (27349.0) -
ユーザのホームディレクトリの中の Gem のパスを返します。
ユーザのホームディレクトリの中の Gem のパスを返します。 -
Gem
:: DIRECTORIES -> Array (27349.0) -
Gem のホームディレクトリ以下に作成されるサブディレクトリの配列。
Gem のホームディレクトリ以下に作成されるサブディレクトリの配列。 -
Gem
. # marshal _ version -> String (27301.0) -
Marshal のバージョンを表す文字列を返します。
Marshal のバージョンを表す文字列を返します。 -
Gem
. # prefix -> String (27301.0) -
このライブラリがインストールされているディレクトリの親ディレクトリを返します。
このライブラリがインストールされているディレクトリの親ディレクトリを返します。 -
Gem
. # ruby -> String (27301.0) -
実行中のRubyインタプリタのパスを返します。
実行中のRubyインタプリタのパスを返します。 -
Gem
. # win _ platform? -> bool (27301.0) -
Windows プラットフォームであれば真を返します。そうでなければ偽を返します。
Windows プラットフォームであれば真を返します。そうでなければ偽を返します。
@see Object::RUBY_PLATFORM -
Gem
. default _ bindir -> String (27301.0) -
実行ファイルのデフォルトのパスを返します。
実行ファイルのデフォルトのパスを返します。 -
Gem
. default _ exec _ format -> String (27301.0) -
デフォルトのインストールするコマンド名を決めるためのフォーマット文字列を返します。
デフォルトのインストールするコマンド名を決めるためのフォーマット文字列を返します。 -
Gem
. default _ sources -> [String] (27301.0) -
デフォルトのパッケージ情報取得先のリストを返します。
デフォルトのパッケージ情報取得先のリストを返します。 -
Gem
. default _ system _ source _ cache _ dir -> String (27301.0) -
デフォルトのシステム全体のソースキャッシュファイルのパスを返します。
デフォルトのシステム全体のソースキャッシュファイルのパスを返します。 -
Gem
. default _ user _ source _ cache _ dir -> String (27301.0) -
デフォルトのユーザ専用のソースキャッシュファイルのパスを返します。
デフォルトのユーザ専用のソースキャッシュファイルのパスを返します。 -
Gem
. ruby _ engine -> String (27301.0) -
Ruby処理系実装の種類を表す文字列を返します。
Ruby処理系実装の種類を表す文字列を返します。 -
Gem
. ssl _ available? -> bool (27301.0) -
現在実行中のプラットフォームで OpenSSL が有効である場合は真を返します。 そうでない場合は偽を返します。
現在実行中のプラットフォームで OpenSSL が有効である場合は真を返します。
そうでない場合は偽を返します。 -
Gem
:: ConfigMap -> Hash (27301.0) -
RbConfig::CONFIG の中からこのライブラリで使用するものを抽出して定義したハッシュ。
RbConfig::CONFIG の中からこのライブラリで使用するものを抽出して定義したハッシュ。 -
Gem
:: MD5 -> Class (27301.0) -
Digest::MD5 です。
Digest::MD5 です。 -
Gem
:: SHA1 -> Class (27301.0) -
Digest::SHA1 です。
Digest::SHA1 です。 -
Gem
:: SHA256 -> Class (27301.0) -
Digest::SHA256 です。
Digest::SHA256 です。 -
Gem
:: WIN _ PATTERNS -> Array (27301.0) -
Windows 上で動いている Ruby を識別するための正規表現の配列。
Windows 上で動いている Ruby を識別するための正規表現の配列。 -
rubygems
/ security (19963.0) -
このライブラリは暗号署名を RubyGems パッケージに使用するために使用します。
このライブラリは暗号署名を RubyGems パッケージに使用するために使用します。
=== 署名付きの Gem パッケージ
==== 目次
* 概要
* 解説
* コマンドラインオプション
* OpenSSL リファレンス
* Bugs / TODO
* 作者について
==== 概要
このライブラリは暗号署名を RubyGems パッケージに使用するために使用します。
以下のセクションでは、署名付きの Gem パッケージを作成する方法を
ステップバイステップで解説しています。
==== 解説
@todo メソッドではない
あなたが自分の Gem に署名するためには、... -
rubygems (19567.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
===[a:gem_command] gem コマンドの使い方
$ gem help
RubyGems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポインタを含んでいる基本的なヘルプメッセージです。
使用方法:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
例:
... -
Gem
:: GemPathSearcher . new -> Gem :: GemPathSearcher (18904.0) -
検索を行うのに必要なデータを初期化します。
検索を行うのに必要なデータを初期化します。 -
rubygems
/ commands / install _ command (18823.0) -
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
Gem パッケージをローカルリポジトリにインストールするためのライブラリです。
Usage: gem install GEMNAME [GEMNAME ...] [options] -- --build-flags [options]
Options:
--platform PLATFORM 指定されたプラットフォームの Gem パッケージをインストールします
-v, --version VERSION 指定されたバージョンの Gem パッケージをインストールします
Install/Update Op... -
Gem
:: GemPathSearcher # find(path) -> Gem :: Specification | nil (18652.0) -
与えられたパスにマッチする Gem::Specification を一つだけ返します。
与えられたパスにマッチする Gem::Specification を一つだけ返します。
@see Array#find -
Gem
:: GemPathSearcher # find _ all(path) -> [Gem :: Specification] (18652.0) -
与えられたパスにマッチする Gem::Specification を全て返します。
与えられたパスにマッチする Gem::Specification を全て返します。
@see Array#find_all -
rubygems
/ commands / query _ command (18589.0) -
Gem パッケージの情報を検索するためのライブラリです。
Gem パッケージの情報を検索するためのライブラリです。
Usage: gem query [options]
Options:
-i, --[no-]installed Check for installed gem
-v, --version VERSION Specify version of gem to query
-n, --name-matches REGEXP 与えられた正規表現にマッチする Gem パッケージを
検... -
rubygems
/ commands / lock _ command (18559.0) -
指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために 必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために
必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
Usage: gem lock GEMNAME-VERSION [GEMNAME-VERSION ...] [options]
Options:
-s, --[no-]strict 依存関係を満たせない場合に失敗します
Common Options:
-h, --help このコマンドのヘルプを表示します
... -
rubygems
/ commands / search _ command (18517.0) -
指定された文字列を含む Gem パッケージを全て表示するためのライブラリです。
指定された文字列を含む Gem パッケージを全て表示するためのライブラリです。
Usage: gem search [STRING] [options]
Options:
-i, --[no-]installed Check for installed gem
-v, --version VERSION Specify version of gem to search
-d, --[no-]details Display detailed information of g... -
rubygems
/ commands / list _ command (18499.0) -
Gem パッケージの名前を前方一致で検索するためのライブラリです。
Gem パッケージの名前を前方一致で検索するためのライブラリです。
Usage: gem list [STRING] [options]
Options:
-i, --[no-]installed Check for installed gem
-v, --version VERSION 指定されたバージョンの一覧を出力します
-d, --[no-]details Gem パッケージの詳細も表示します
--[no-]versions ... -
rubygems
/ commands / dependency _ command (18481.0) -
インストールされている Gem パッケージの依存関係を表示するためのライブラリです。
インストールされている Gem パッケージの依存関係を表示するためのライブラリです。
Usage: gem dependency GEMNAME [options]
Options:
-v, --version VERSION 指定したバージョンの依存関係を表示します
--platform PLATFORM 指定したプラットフォームの依存関係を表示します
-R, --[no-]reverse-dependencies この Gem を使用している Gem を表示します
-p, --p... -
rubygems
/ commands / specification _ command (18409.0) -
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
Usage: gem specification [GEMFILE] [options]
Options:
-v, --version VERSION Specify version of gem to examine
--platform PLATFORM Specify the platform of gem to specification
--all ... -
rubygems
/ commands / uninstall _ command (18409.0) -
Gem パッケージをアンインストールするためのライブラリです。
Gem パッケージをアンインストールするためのライブラリです。
Usage: gem uninstall GEMNAME [GEMNAME ...] [options]
Options:
-a, --[no-]all Uninstall all matching versions
-I, --[no-]ignore-dependencies Ignore dependency requirements while
uninstalling
-x, --... -
rubygems
/ commands / contents _ command (18355.0) -
インストールされている Gem パッケージに含まれているファイルリストを表示するためのライブラリです。
インストールされている Gem パッケージに含まれているファイルリストを表示するためのライブラリです。
Usage: gem contents GEMNAME [options]
Options:
-v, --version VERSION 指定されたバージョンの Gem パッケージの内容を表示します
-s, --spec-dir a,b,c 指定されたパス以下にある Gem パッケージを検索します
-l, --[no-]lib-only Gem パッケージの lib ディ... -
rubygems
/ commands / pristine _ command (18355.0) -
インストールされている Gem パッケージを初期状態にするためのライブラリです。
インストールされている Gem パッケージを初期状態にするためのライブラリです。
Usage: gem pristine [args] [options]
Options:
--all インストールされている全ての Gem パッケージを
初期状態に戻します
-v, --version VERSION 指定したバージョンの Gem パッケージを
... -
Gem
:: GemPathSearcher # lib _ dirs _ for(spec) -> String (18319.0) -
ライブラリの格納されているディレクトリを glob に使える形式で返します。
ライブラリの格納されているディレクトリを glob に使える形式で返します。
例:
'/usr/local/lib/ruby/gems/1.8/gems/foobar-1.0/{lib,ext}' -
Gem
:: GemPathSearcher # matching _ file?(spec , path) -> bool (18319.0) -
与えられた spec に path が含まれている場合、真を返します。 そうでない場合は偽を返します。
与えられた spec に path が含まれている場合、真を返します。
そうでない場合は偽を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。 -
Gem
:: GemPathSearcher # matching _ files(spec , path) -> [String] (18319.0) -
与えられた spec に path が含まれている場合、その path のリストを返します。
与えられた spec に path が含まれている場合、その path のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。 -
Gem
:: GemRunner # run(args) -> () (18319.0) -
@todo
@todo
与えられた引数を元にして gem のコマンドを実行します。
@param args コマンドラインから与えられた引数を指定します。 -
rubygems
/ commands / fetch _ command (18319.0) -
Gem パッケージをダウンロードしてカレントディレクトリに保存するためのライブラリです。
Gem パッケージをダウンロードしてカレントディレクトリに保存するためのライブラリです。
Usage: gem fetch GEMNAME [GEMNAME ...] [options]
Options:
-v, --version VERSION 指定されたバージョンの Gem を取得します
--platform PLATFORM 指定されたプラットフォームの Gem を取得します
Local/Remote Options:
-B, --bulk-threshold COUNT ... -
rubygems
/ commands / outdated _ command (18319.0) -
更新が必要な Gem パッケージの一覧を出力するためのライブラリです。
更新が必要な Gem パッケージの一覧を出力するためのライブラリです。
Usage: gem outdated [options]
Options:
--platform PLATFORM 指定されたプラットフォームに関する情報を表示します
Local/Remote Options:
-l, --local 操作をローカルに限定します
-r, --remote 操作をリモートに限定します
-b, --both ... -
rubygems
/ commands / cert _ command (18283.0) -
Gem パッケージの証明書や署名の設定を管理するためのライブラリです。
Gem パッケージの証明書や署名の設定を管理するためのライブラリです。
Usage: gem cert [options]
Options:
-a, --add CERT 信頼された証明書を追加します
-l, --list 信頼されている証明書の一覧を表示します
-r, --remove STRING STRING を含む証明書を削除します
-b, --build EMAIL_ADDR EMAIL_ADDR ... -
rubygems
/ commands / server _ command (18265.0) -
ローカルにインストールされている Gem パッケージとそのドキュメントを HTTP サーバに 載せて公開するためのライブラリです。
ローカルにインストールされている Gem パッケージとそのドキュメントを HTTP サーバに
載せて公開するためのライブラリです。
Usage: gem server [options]
Options:
-p, --port=PORT port to listen on
-d, --dir=GEMDIR directory from which to serve gems
--[no-]daemon run as a daemon
... -
rubygems
/ commands / sources _ command (18265.0) -
Gem パッケージの取得元の情報を管理するためのライブラリです。
Gem パッケージの取得元の情報を管理するためのライブラリです。
Usage: gem sources [options]
Options:
-a, --add SOURCE_URI 取得元を追加します
-l, --list 取得元一覧を表示します
-r, --remove SOURCE_URI 取得元を削除します
-u, --update 取得元のキャッシュを更新します
-c, --clear-... -
rubygems
/ commands / check _ command (18247.0) -
インストールされている Gem パッケージを検証するためのライブラリです。
インストールされている Gem パッケージを検証するためのライブラリです。
Usage: gem check [options]
Options:
--verify FILE 内部のチェックサムにより Gem パッケージを検証します
-a, --alien 管理されていないパッケージを報告します
-t, --test Gem パッケージのユニットテストを実行します
-v, --version VERSION ... -
rake
/ gempackagetask (18241.0) -
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
Gem パッケージだけでなく zip, tgz, tar.gz, tar.bz2 の各ファイルを作成する事もできます。
以下のタスクを定義します。
: PACKAGE_DIR/NAME-VERSION.gem
Gem パッケージを作成します。
例:
require 'rubygems'
spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.summa... -
rubygems
/ commands / cleanup _ command (18211.0) -
ローカルにインストールされている古い Gem を削除するライブラリです。
ローカルにインストールされている古い Gem を削除するライブラリです。
Usage: gem cleanup [GEMNAME ...] [options]
Options:
-d, --dryrun
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--... -
rubygems
/ commands / unpack _ command (18211.0) -
指定された Gem パッケージをカレントディレクトリに展開するためのライブラリです。
指定された Gem パッケージをカレントディレクトリに展開するためのライブラリです。
Usage: gem unpack GEMNAME [options]
Options:
--target 展開先のディレクトリを指定します
-v, --version VERSION 展開する Gem パッケージのバージョンを指定します
Common Options:
-h, --help このコマンドのヘルプを表示します
-... -
rubygems
/ commands / generate _ index _ command (18193.0) -
ある Gem サーバに対するインデックスを作成するためのライブラリです。
ある Gem サーバに対するインデックスを作成するためのライブラリです。
Usage: gem generate_index [options]
Options:
-d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
... -
rubygems
/ commands / help _ command (18193.0) -
Gem コマンドに関するヘルプを提供するためのライブラリです。
Gem コマンドに関するヘルプを提供するためのライブラリです。
Usage: gem help ARGUMENT [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
... -
rubygems
/ commands / environment _ command (18181.0) -
RubyGems の環境に関する情報を表示するためのライブラリです。
RubyGems の環境に関する情報を表示するためのライブラリです。
Usage: gem environment [arg] [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイル... -
rubygems
/ commands / build _ command (18175.0) -
Gem パッケージをビルドするためのライブラリです。
Gem パッケージをビルドするためのライブラリです。
Usage: gem build GEMSPEC_FILE [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します... -
rubygems
/ commands / rdoc _ command (18163.0) -
RDoc と ri のライブラリを生成するためのライブラリです。
RDoc と ri のライブラリを生成するためのライブラリです。
Usage: gem rdoc [args] [options]
Options:
--all インストールされている全ての Gem パッケージの
RDoc/RI ドキュメントを生成します。
--[no-]rdoc RDoc を含めます
--[no-]ri RI ... -
rubygems
/ commands / mirror _ command (18145.0) -
リモートリポジトリをローカルリポジトリにミラーするためのライブラリです。
リモートリポジトリをローカルリポジトリにミラーするためのライブラリです。
Usage: gem mirror [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--config-file FILE 指定された設定ファイルを使用します
... -
rubygems
/ package / tar _ input (18145.0) -
gem-format な tar ファイルを読み込む Gem::Package::TarReader のラッ パークラスを提供するライブラリです。
gem-format な tar ファイルを読み込む Gem::Package::TarReader のラッ
パークラスを提供するライブラリです。 -
rubygems
/ package / tar _ output (18145.0) -
gem-format な tar ファイルを書き出す Gem::Package::TarWriter のラッ パークラスを提供するライブラリです。
gem-format な tar ファイルを書き出す Gem::Package::TarWriter のラッ
パークラスを提供するライブラリです。 -
rubygems
/ package / tar _ reader (18097.0) -
gem-format な tar ファイルを読むためのクラスを提供するライブラリです。
gem-format な tar ファイルを読むためのクラスを提供するライブラリです。 -
ubygems (18037.0)
-
rubygems を Kernel.#require するだけのライブラリです。
rubygems を Kernel.#require するだけのライブラリです。
コマンドラインから使用すると以下のようにできます。
$ ruby -rubygems -e ''
@see rubygems -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (10312.0) -
短い名前で正確にマッチする Gem を返します。
短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement -
Gem
:: Specification # add _ development _ dependency(gem , *requirements) -> [Gem :: Dependency] (10159.0) -
この gem の DEVELOPMENT 依存性を追加します。 この gem の開発時に必要となる gem を指定します。
この gem の DEVELOPMENT 依存性を追加します。
この gem の開発時に必要となる gem を指定します。
//emlist[][ruby]{
gem "rack", "~> 1.6", ">= 1.6.12"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。
@see Gem::Specification#add_runtime_dependency, Gem::Depende... -
Gem
:: Specification # add _ dependency(gem , *requirements) -> [Gem :: Dependency] (10117.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0... -
Gem
:: Specification # add _ runtime _ dependency(gem , *requirements) -> [Gem :: Dependency] (10117.0) -
この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。
この gem の RUNTIME 依存性を追加します。
実行時に必要となる gem を指定します。
//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}
@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。
@param requirements バージョンの必要条件を 0...