るりまサーチ

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

別のキーワード

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

検索結果

Gem::Specification#require_path -> String (21101.0)

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

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

@see Gem::Specification#require_paths...

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

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

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

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

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

Gem::Specification#require_paths -> [String] (9100.0)

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

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

Gem::Specification#require_paths=(paths) (9100.0)

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

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

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

Gem::RequirePathsBuilder#write_require_paths_file_if_needed(spec = @spec, gem_home = @gem_home) (6302.0)

必要であれば、'.require_paths' というファイルを Gem ごとに作成します。

...必要であれば、'.require_paths' というファイルを Gem ごとに作成します。...

絞り込み条件を変える

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

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

...す。

例:

# このように定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'

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

@param...

rubygems (36.0)

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

...ersion
gem command [arguments...] [options...]

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

さらにヘルプ:
gem help commands 全ての 'gem' コマンドをリストアップしま...
...作成する

作成した gemspec ファイルを元にして Gem パッケージを簡単に作成することができます。

$ gem build <gemspec filename>

最小の gemspec は以下のようになります。ビルドするために必要な最小の gemspec なので出来上がるの...
...= '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 コマンドの設定
* GEM_HOME G...

rake/gempackagetask (34.0)

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

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

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

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

: PACKAGE_DI...
...す。

例:
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'
s.require_path = 'lib'
s.autorequire = '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...