[RaPT](http://rapt.rubyforge.org/) は、Ruby on Railsのプラグインを管理するためのツールです。 >RaPT is a replacement for the plugin script included with the Rails distribution. It's a little more fault-tolerant and featured than the default plugin script. The main additional feature is the ability to search for Rails plugins from the command line. なんとなく、名前がdebianのaptに似てると思うのは僕だけでしょうか。 以前から、RailsプラグインにもRubyGemsに相当するような パッケージ管理ツールがほしいと思っていたのですが、 これを使えば目的を達することができるかも。 **インストール** RaPT自体はRubyGemsとして提供されています。 shell>> % sudo gem install rapt <<-- おなじみのコマンドですね。これでOK。 **使い方** shell>> % rapt -h Usage: rapt [OPTIONS] command Rails plugin manager. GENERAL OPTIONS -r, --root=DIR Set an explicit rails app directory. Default: /home/takiuchi/blog -s, --source=URL1,URL2 Use the specified plugin repositories instead of the defaults. -v, --verbose Turn on verbose output. -h, --help Show this help message. <<-- **サブコマンド** shell>> discover Discover plugin repositories. list List available plugins. search Search for available plugins. about Show basic info about a plugin. install Install plugin(s) from known repositories or URLs. update Update installed plugins. remove Uninstall plugins. source Add a plugin source repository. unsource Remove a plugin repository. sources List currently configured plugin repositories. pack:install Install plugins from plugin pack file or URL pack:uninstall Uninstall plugins from plugin pack file or URL pack:about Display plugin pack information <<-- **使用例** 長くなったので、 Click to toggle display Example.
Install a plugin: shell>> % rapt install continuous_builder <<-- Install a plugin from a subversion URL: shell>> % rapt install http://dev.rubyonrails.com/svn/rails/plugins/continuous_builder <<-- Install a plugin and add a svn:externals entry to vendor/plugins shell>> % rapt install -x continuous_builder <<-- Show information about the acts_as_chunky_bacon plugin: shell>> % rapt about acts_as_chunky_bacon <<-- List all available plugins: shell>> % rapt list <<-- List plugins in the specified repository: shell>> % rapt list --source=http://dev.rubyonrails.com/svn/rails/plugins/ <<-- Search available plugins: shell>> % rapt search "authentication" <<-- Discover and prompt to add new repositories: shell>> % rapt discover <<-- Discover new repositories but just list them, don't add anything: shell>> % rapt discover -l <<-- Add a new repository to the source list: shell>> % rapt source http://dev.rubyonrails.com/svn/rails/plugins/ <<-- Remove a repository from the source list: shell>> rapt unsource http://dev.rubyonrails.com/svn/rails/plugins/ <<-- Show currently configured repositories: shell>> % rapt sources <<-- Show the options for the list command: shell>> % rapt list -h <<-- Install a plugin pack: shell>> % rapt pack:install http://opensource.agileevolved.com/pluginpacks/standard.pluginpack <<-- View plugin pack meta data: shell>> % rapt pack:about http://opensource.agileevolved.com/pluginpacks/standard.pluginpack <<--
posted by genki genki on Sun 2 Dec 2007 at 03:05 with 0 comments
Contents rssrss
光ファイバーを二次元振動させて走査するAR用ディスプレイ
因果の取り違え
Swift2's defer for CoffeeScript
mongodb-3.0からcreateIndexのdropDupsが無くなったらしい
mongodb-3.0以降のWiredTigerの設定を動的に変更する方法
一般楕円の高速生成アルゴリズムへの道標
farro mantecatoのレシピ
Droonga関連の記事のまとめ
RuntimeErrorの特定のメッセージに限定してrescueする方法
jQueryでscriptタグを実行せずにappendする
Tags
coffeescriptdefergroongajsmemonodenodejs
Comments rssrss
瀧内元気 瀧内元気: MacOS版は以下にあります genki/ViMouse 01/16 05:40
dsjf dsjf: https://gist.github.com/6bf1bf2c3cbb5eb6e7a7 これでも出... 01/08 23:23
瀧内元気 瀧内元気: おお、チェックしてみます。thx! 12/24 05:23
overisland overisland: Reeder for iPhone もこの UI を実装していますね。 12/24 05:13
瀧内元気 瀧内元気: その情報は見たのですが、以下のサイトによると、現在はまた必要になってるっぽいんですよね。 http:... 12/01 12:20
tkawa tkawa: http://devcenter.heroku.com/articles/rails31_herok... 12/01 10:47
瀧内元気 瀧内元気: どもー。いまはgithubに置いてあります https://github.com/genki/irb... 07/10 08:31
ともち ともち: こんにちは! すばらしいプログラムをありがとうございます。しかし、merbiのドメイン、切れているみ... 07/10 02:30
Services from s21g
YOMU Web小説リーダー
Web小説を音声で楽しむ読み上げリーダー
補助探
公開されている補助金・助成金情報を集約し、条件に合う制度を探しやすくするサービスです。
jotter.me
個人開発者のためのホスティング一体型ノートサービス
ハンドミラー
iPhone向けの手鏡アプリ
ツイプロ(twpro)
Twitterプロフィールの高速検索エンジン