るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.197秒)
トップページ > クエリ:generate[x] > クエリ:rubygems/commands/lock_command[x]

別のキーワード

  1. rexml/document new
  2. rexml/document write
  3. rexml/document clone
  4. rexml/document node_type
  5. rexml/document to_s

検索結果

rubygems/commands/lock_command (38006.0)

指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために 必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。

...特定バージョンの Gem パッケージを使用するために必要な記述を表示します
Description:
The lock command will generate a list of +gem+ statements that will lock
down
the versions for the gem given in the command line. It will specify exact
vers...
...in the requirements list to ensure that the gems loaded will always
be consistent. A full recursive search of all effected gems will be
generate
d.

Example:

gemlock rails-1.0.0 > lockdown.rb

will produce in lockdown.rb:

require "ru...