« RailsとSSL | メイン | ライブドアブログでHTMLを外部から挿入する »

gem help command

memoです。

http://kiyoeri.gotdns.org/joomla/index.php?option=com_content&task=view&id=30&Itemid=2

# gem help command

GEM commands are:

build Build a gem from a gemspec
cert Adjust RubyGems certificate settings
check Check installed gems
cleanup Cleanup old versions of installed gems in the local repository
contents Display the contents of the installed gems
dependency Show the dependencies of an installed gem
environment Display RubyGems environmental information
help Provide help on the 'gem' command
install Install a gem into the local repository
list Display all gems whose name starts with STRING
query Query gem information in local or remote repositories
rdoc Generates RDoc for pre-installed gems
search Display all gems whose name contains STRING
specification Display gem specification (in yaml)
uninstall Uninstall a gem from the local repository
unpack Unpack an installed gem to the current directory
update Update the named gem (or all installed gems) in the local repository

■使用頻度が高いと思われるコマンド

機能 コマンド
hogeをインストール gem install hoge
インストールされたパッケージ一覧 gem list
名前にfugaを含むインストール済みパッケージを探す gem search fuga
ネットワーク上のライブラリを探す gem search --remote fuga  gem search -r fuga
パッケージfugaをアップデート gem update fuga
パッケージfugaの古いバージョンを削除 gem cleanup fuga
パッケージfagaの削除 gem uninstall fuga
gems自身をアップデート gem update --system
ヘルプ gem --help  gem -h
コマンド一覧を表示 gem help commands




トラックバック

このエントリーのトラックバックURL:
http://synth.jp/pg/mt-tb.cgi/1575

コメントを投稿

(いままで、ここでコメントしたことがないときは、コメントを表示する前にこのブログのオーナーの承認が必要になることがあります。承認されるまではコメントは表示されません。そのときはしばらく待ってください。)

カレンダー


2007年06月
Su Mo Tu We Th Fr Sa
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Map

About

2007年06月14日 23:46に投稿されたエントリーのページです。

ひとつ前の投稿は「RailsとSSL」です。

次の投稿は「ライブドアブログでHTMLを外部から挿入する」です。

他にも多くのエントリーがあります。メインページアーカイブページも見てください。