36件ヒット
[1-36件を表示]
(0.009秒)
キーワード
- mkmf (12)
-
rdoc
/ generator / json _ index (12) -
rubygems
/ commands / server _ command (12)
検索結果
-
mkmf (13.0)
-
Ruby の拡張ライブラリのための Makefile を作成するライブラリです。
...す。
このための extconf.rb は以下のように書きます。
require 'mkmf'
dir_config('bar')
if have_header('bar.h') and have_library('bar', 'baz')
create_makefile('foo')
end
拡張ライブラリ foo.so を作成、インストールするには以下のようにします......y extconf.rb --with-bar-include=/usr/local/include \
--with-bar-lib=/usr/local/lib
または
$ ruby extconf.rb --with-bar-dir=/usr/local
dir_config 関数の詳細については
Kernel#dir_config を参照してください。
=== configure オプション
configure オ......追加します。
: --with-opt-lib=DIR
ライブラリファイルを探索するディレクトリ DIR を追加します。
: --with-opt-dir=DIR
ヘッダファイル、ライブラリファイルを探索するディレクトリ
DIR/include、DIR/lib をそれぞれ追加します... -
rdoc
/ generator / json _ index (7.0) -
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ クスを生成するサブライブラリです。
...ータと一緒に使うために設計されています。:
class RDoc::Generator::Darkfish
def initialize options
# ...
@base_dir = Pathname.pwd.expand_path
@json_index = RDoc::Generator::JsonIndex.new self, options
end
def generate
# ...
@json_index... -
rubygems
/ commands / server _ command (7.0) -
ローカルにインストールされている 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
Common Options:
-h, --help...