24件ヒット
[1-24件を表示]
(0.025秒)
検索結果
-
Gem
:: Specification # executables=(executables) (21100.0) -
実行可能ファイル名のリストをセットします。
実行可能ファイル名のリストをセットします。
@param executables 実行可能ファイル名のリストを指定します。 -
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 なので出来上がるの......合の gemspec は以下のようになります。
//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
s.files = ['bin/hello', 'lib/hello.rb']
s.executables = ['hello']...