るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.021秒)
トップページ > クエリ:gem[x] > クエリ:require_path=[x]

別のキーワード

  1. kernel require
  2. getoptlong require_order
  3. rubygems/custom_require require
  4. irb/ext/use-loader irb_require
  5. kernel require_relative

検索結果

Gem::Specification#require_path=(path) (21128.0)

Gem::Specification#require_paths= の単数バージョンです。

...
Gem
::Specification#require_paths= の単数バージョンです。

@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。

@see Gem::Specification#require_paths=...

rubygems (6426.0)

RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。

...RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。


===[a:gem_command] gem コマンドの使い方

$ gem help

RubyGems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポ...
...:
gem
-h/--help
gem
-v/--version
gem
command [arguments...] [options...]

例:
gem
install rake
gem
list --local
gem
build package.gemspec
gem
help install

さらにヘルプ:
gem
help commands 全ての 'gem...
... Gem::Platform::RUBY
s.summary = 'Hello Gem'
s.files = PKG_FILES.to_a
s.require_path = 'lib'
s.has_rdoc = false
s.extra_rdoc_files = ['README']
end

Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
//}

@see Gem::Specification, rake

=== gem...

rake/gempackagetask (6068.0)

Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。

...Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。

Gem
パッケージだけでなく zip, tgz, tar.gz, tar.bz2 の各ファイルを作成する事もできます。

以下のタスクを定義します。

: PACKAGE_DI...
...R/NAME-VERSION.gem
Gem
パッケージを作成します。

例:
require 'rubygems'

spec = Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
s.summary = "Ruby based make-like utility."
s.name = 'rake'
s.version = PKG_VERSION
s.requirements << 'none'...
...re = 'rake'
s.files = PKG_FILES
s.description = <<EOF
Rake is a Make-like program implemented in Ruby. Tasks
and dependencies are specified in standard Ruby syntax.
EOF
end

Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end...

Gem::Specification.attribute_alias_singular(singular, plural) -> () (3006.0)

既に存在する複数形の属性の単数形バージョンを定義します。

...ttribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'

@param singular 属性名の単数形を指定します。

@param plural 属性名の複数形を指定します。...