<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="/xslt/rss2.xsl" media="screen"?>
<rss version="2.0"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Latest from ChinaonRails's Rake</title>
		<link>http://chinaonrails.com/go/rake</link>
		<description>ChinaonRails | ChinaonRails are one of the very few China based web consultancies, who specialize in application development using RubyOnRails/Agile/Ajax.</description>
		<category>Technology</category>
		<language>zh_cn</language>
		<item>
			<title>Tap ：Task的workflow框架 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/2012.html</link>
			<comments>http://chinaonrails.com/topic/view/2012.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Rake</category>
			<description>
			&lt;a href="http://tap.rubyforge.org/" rel="nofollow external" class="tpc"&gt;http://tap.rubyforge.org/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://img142.imageshack.us/img142/4342/tapndu3.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://bahuvrihi.wordpress.com/2008/08/08/distributable-tasks-and-workflows/" rel="nofollow external" class="tpc"&gt;http://bahuvrihi.wordpress.com/2008/08/08/distributable-tasks-and-workflows/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
分布式的任务插件&lt;br /&gt;
&lt;br /&gt;
还有日本清酒&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/474.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/474.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
和雷神之锤Thor&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/1624.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/1624.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
还有一种水龙头&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/1302.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/1302.html&lt;/a&gt;
			</description>
			<pubDate>Mon, 11 Aug 2008 13:57:02 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/2012.html</guid>
		</item>
		<item>
			<title>Rake任务：检查项目的语法 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1694.html</link>
			<comments>http://chinaonrails.com/topic/view/1694.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Rake</category>
			<description>
			&lt;a href="http://blog.hungrymachine.com/2008/6/4/rake-task-for-syntax-checking-a-ruby-on-rails-project" rel="nofollow external" class="tpc"&gt;http://blog.hungrymachine.com/2008/6/4/rake-task-for-syntax-checking-a-ruby-on-rails-project&lt;/a&gt;
			</description>
			<pubDate>Thu, 05 Jun 2008 10:05:08 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1694.html</guid>
		</item>
		<item>
			<title>命令行界面的雷神之锤 thor要砸碎rake耙子，打烂sake日本米酒坛子 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1624.html</link>
			<comments>http://chinaonrails.com/topic/view/1624.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Rake</category>
			<description>
			&lt;a href="http://yehudakatz.com/2008/05/12/by-thors-hammer/" rel="nofollow external" class="tpc"&gt;http://yehudakatz.com/2008/05/12/by-thors-hammer/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
玩法要绑在textmate上更好玩&lt;br /&gt;
&lt;br /&gt;
Description:  	 A scripting framework that replaces rake and sake&lt;br /&gt;
Homepage: 	http://www.yehudakatz.com&lt;br /&gt;
Clone URL: 	git://github.com/wycats/thor.git&lt;br /&gt;
&lt;br /&gt;
安装&lt;br /&gt;
直接用gem install thor&lt;br /&gt;
&lt;br /&gt;
不幸运的就要加上github的源，看 &lt;a href="http://chinaonrails.com/topic/view/1554.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/1554.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
http://chinaonrails.com/topic/view/751.html&lt;br /&gt;
&lt;br /&gt;
使用thor就跟rake差不多，thor -T 列出任务&lt;br /&gt;
当然得作后缀thor的文件&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
没有喝够sake，请&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/474.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/474.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://chinaonrails.com/topic/view/424.html" rel="nofollow external" class="tpc"&gt;http://chinaonrails.com/topic/view/424.html&lt;/a&gt;&lt;br /&gt;
耙子不够练&lt;br /&gt;
&lt;a href="http://www.javaeye.com/topic/29857" rel="nofollow external" class="tpc"&gt;http://www.javaeye.com/topic/29857&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://griffinminiatures.com/catalog/images/thor.jpg" border="0" /&gt;
			</description>
			<pubDate>Wed, 14 May 2008 14:22:32 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1624.html</guid>
		</item>
		<item>
			<title>晒shell历史的人们，rake使用频率有多高 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1531.html</link>
			<comments>http://chinaonrails.com/topic/view/1531.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Rake</category>
			<description>
			大肚Jim谈rake的视频&lt;br /&gt;
&lt;br /&gt;
看不到肚皮，就往下看&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.infoq.com/interviews/jim-weirich-discusses-rake" rel="nofollow external" class="tpc"&gt;http://www.infoq.com/interviews/jim-weirich-discusses-rake&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
最近很多人亮出舌苔&lt;br /&gt;
&lt;br /&gt;
名堂何在，高手高在何处？&lt;br /&gt;
&lt;br /&gt;
git占上峰，说明跟上潮流了&lt;br /&gt;
&lt;br /&gt;
ruby 用多了，说明性格是顽固老脑筋&lt;br /&gt;
&lt;br /&gt;
rake代表的Rails way 比较酷&lt;br /&gt;
&lt;br /&gt;
唉，怎么看不懂的命令-高手善用别名&lt;br /&gt;
&lt;br /&gt;
http://blog.invisible.ch/2008/04/12/shell-meme/&lt;br /&gt;
&lt;br /&gt;
http://www.postal-code.com/binarycode/2008/04/16/history-meme/&lt;br /&gt;
&lt;br /&gt;
http://www.robinlu.com/blog/archives/193&lt;br /&gt;
&lt;br /&gt;
http://railspikes.com/2008/4/16/command-line-history&lt;br /&gt;
&lt;br /&gt;
http://www.peterkrantz.com/2008/whats-your-historyawk/&lt;br /&gt;
&lt;br /&gt;
http://robsanheim.com/2008/04/16/history-meme-onwards/&lt;br /&gt;
&lt;br /&gt;
病人多，神经科的大夫少，心理医生都去哪里了&lt;br /&gt;
&lt;br /&gt;
偷偷漏点，古道兄的新书中部分内容：&lt;br /&gt;
&lt;br /&gt;
&lt;div class="code"&gt;在现在的Rails框架中，实际上存在两种形式的开发命令：&lt;br /&gt;
一种是以rake工具的命令如“rake db:migrate”，另外一种是&lt;br /&gt;
以ruby命令开始的执行命令如针对Windows系统的&lt;br /&gt;
“ruby script/server”或者针对Linux和MacOS系统的&lt;br /&gt;
“script/server”。&lt;br /&gt;
&lt;br /&gt;
相信这种情况会发生变化，朝着趋于单一的以rake 工具的命令方式方向发展。&lt;br /&gt;
这一段好处，在所有操作系统中，将会是统一的命令方式，而不是现在不同的&lt;br /&gt;
系统具有不同的命令方式。&lt;/div&gt;
			</description>
			<pubDate>Wed, 23 Apr 2008 12:04:41 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1531.html</guid>
		</item>
		<item>
			<title>用rails生成sitemaps站点图 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/1408.html</link>
			<comments>http://chinaonrails.com/topic/view/1408.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Rake</category>
			<description>
			&lt;img class="code" src="http://www.jeba.in/wp-content/uploads/2007/09/sitemap-jeba.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
便于蜘蛛遍历整个网站 SEO&lt;br /&gt;
&lt;br /&gt;
http://www.google.com/support/webmasters/bin/answer.py?hl=cn&amp;answer=34654&lt;br /&gt;
&lt;br /&gt;
http://fortytwo.gr/blog/19/Generating-Sitemaps-With-Rails
			</description>
			<pubDate>Sat, 08 Mar 2008 13:52:23 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/1408.html</guid>
		</item>
		<item>
			<title>Sake （日本清酒）= system-wide Rake ... 4 replies</title>
			<link>http://chinaonrails.com/topic/view/474.html</link>
			<comments>http://chinaonrails.com/topic/view/474.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Rake</category>
			<description>
			&lt;a href="http://rubyforge.org/frs/?group_id=2534&amp;release_id=12605" rel="nofollow external" class="tpc"&gt;http://rubyforge.org/frs/?group_id=2534&amp;release_id=12605&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://errtheblog.com/post/6069" rel="nofollow external" class="tpc"&gt;http://errtheblog.com/post/6069&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://www.vinography.com/archives/images/sake_label_montage.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
改造过的耙子（Rake）变成了 强大的系统make工具&lt;br /&gt;
&lt;br /&gt;
Sake 的局限是windows 平台上只能用 Cygwin, 原因是ruby2ruby 依赖关系，有待以后的进一步改进
			</description>
			<pubDate>Tue, 26 Jun 2007 10:24:37 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/474.html</guid>
		</item>
		<item>
			<title>教程Rake - 耙子大法 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/424.html</link>
			<comments>http://chinaonrails.com/topic/view/424.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Rake</category>
			<description>
			&lt;a href="http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial" rel="nofollow external" class="tpc"&gt;http://www.railsenvy.com/2007/6/11/ruby-on-rails-rake-tutorial&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Rake 的本意就是 &lt;img class="code" src="http://www.zhubajie.com.cn/face/F21.jpg" border="0" /&gt;
			</description>
			<pubDate>Tue, 12 Jun 2007 08:13:35 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/424.html</guid>
		</item>
		<item>
			<title>自制rake应用程序 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/98.html</link>
			<comments>http://chinaonrails.com/topic/view/98.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Rake</category>
			<description>
			&lt;a href="http://onestepback.org/index.cgi/Tech/Rake/CustomRakeApplications.blog.red" rel="nofollow external" class="tpc"&gt;http://onestepback.org/index.cgi/Tech/Rake/CustomRakeApplications.blog.red&lt;/a&gt;
			</description>
			<pubDate>Sun, 29 Apr 2007 10:28:39 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/98.html</guid>
		</item>
		<item>
			<title>Rake是个常用但冷冷清清的话题，看中文的相关links ... no reply</title>
			<link>http://chinaonrails.com/topic/view/79.html</link>
			<comments>http://chinaonrails.com/topic/view/79.html#reply</comments>
			<dc:creator>bd7lx</dc:creator>
			<author>bd7lx</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/9.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/9_n.jpg" type="image/jpeg" />-->
			<category>Rake</category>
			<description>
			http://www.javaeye.com/forums/tag/rake&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://bd7lx.javaeye.com/blog/29857" rel="nofollow external" class="tpc"&gt;http://bd7lx.javaeye.com/blog/29857&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
经常用的反而问的问题少，不常用的编辑器或集成环境关心的人多！&lt;br /&gt;
&lt;br /&gt;
所以不太理解斑竹的用心如何，开辟明知会冷场的频道&lt;br /&gt;
&lt;br /&gt;
&lt;img class="code" src="http://bd7lx.javaeye.com/upload/picture/pic/175/957b4f6e-da66-4a71-a410-04c22397c91b.jpg" border="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
下载&lt;br /&gt;
用 Rake 自动执行任务&lt;br /&gt;
&lt;a href="http://docs.google.com/View?docid=adgp94frh63f_18dn35d5" rel="nofollow external" class="tpc"&gt;http://docs.google.com/View?docid=adgp94frh63f_18dn35d5&lt;/a&gt;
			</description>
			<pubDate>Sat, 28 Apr 2007 13:42:08 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/79.html</guid>
		</item>
		<item>
			<title>Ruby on Rails 命令参考 ... no reply</title>
			<link>http://chinaonrails.com/topic/view/27.html</link>
			<comments>http://chinaonrails.com/topic/view/27.html#reply</comments>
			<dc:creator>Caiwangqin</dc:creator>
			<author>Caiwangqin</author>
			<!--<enclosure url="http://chinaonrails.com/img/p/1.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1_s.jpg" type="image/jpeg" />
			<enclosure url="http://chinaonrails.com/img/p/1_n.jpg" type="image/jpeg" />-->
			<category>Rake</category>
			<description>
			1.1.Rails&lt;br /&gt;
1.1 创建一个Rails应用程序&lt;br /&gt;
 $ rails app_name&lt;br /&gt;
 可选项:&lt;br /&gt;
 -d, database=xxx 指定安装一个数据库(mysql oracle postgresql sqlite2 sqlite3 ), 默认情况下是数据库&lt;br /&gt;
 -r, ruby-path= 指定Ruby的安装路径,如果没有指定，scripts使用env去找Ruby &lt;br /&gt;
 -f, freeze (冻结)freezes Rails在vendor/rails目录&lt;br /&gt;
&lt;br /&gt;
1.2 API Documentation&lt;br /&gt;
 $ gem_server&lt;br /&gt;
 启动一个WEBrick服务器。这时候你可以通过Http://localhost:8808/ 打开浏览器去查看rails API文档&lt;br /&gt;
&lt;br /&gt;
1.3 Rake&lt;br /&gt;
 rake db:fixtures:load &lt;br /&gt;
  # 载入fixtures到当前环境的数据库 &lt;br /&gt;
  # 载入指定的fixtures使用FIXTURES=x,y&lt;br /&gt;
 rake db:migrate &lt;br /&gt;
 # 迁移数据库通过在db/migrate目录下的脚本.可以指定版本号通过VERSION=x&lt;br /&gt;
 rake db:schema:dump &lt;br /&gt;
 # 创建一个db/schema.rb文件，通过AR能过够支持任何数据库去使用&lt;br /&gt;
 rake db:schema:load &lt;br /&gt;
 # 再入一个schema.rb文件进数据库&lt;br /&gt;
 rake db:sessions:clear &lt;br /&gt;
 # 清空sessions表&lt;br /&gt;
 rake db:sessions:create &lt;br /&gt;
 # 用CGI::Session::ActiveRecordStore创建一个sessions表为用户 &lt;br /&gt;
 rake db:structure:dump &lt;br /&gt;
 # 导出数据库结构为一个SQL文件&lt;br /&gt;
 rake db:test:clone &lt;br /&gt;
 # 重新创建一个测试数据库从当前环境数据库中&lt;br /&gt;
 rake db:test:clone_structure &lt;br /&gt;
 # 重新创建测试数据库从开发模式数据库&lt;br /&gt;
 rake db:test&lt;img src="/img/icons/silk/emoticon_tongue.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;repare &lt;br /&gt;
 # 准备测试数据库并在入schema&lt;br /&gt;
 rake db:test&lt;img src="/img/icons/silk/emoticon_tongue.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;urge &lt;br /&gt;
 # 清空测试数据库&lt;br /&gt;
 rake doc:app &lt;br /&gt;
 # 创建HTML文件的API Documentation&lt;br /&gt;
 rake doc:clobber_app &lt;br /&gt;
 # 删除Documentation&lt;br /&gt;
 rake doc:clobber_plugins &lt;br /&gt;
 # 删除 plugin Documentation&lt;br /&gt;
 rake doc:clobber_rails &lt;br /&gt;
 # 删除Documentation&lt;br /&gt;
 rake doc&lt;img src="/img/icons/silk/emoticon_tongue.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;lugins &lt;br /&gt;
 # 产生Documation为所有安装的plugins&lt;br /&gt;
 rake doc:rails &lt;br /&gt;
 # 创建HTML文件的API Documentation&lt;br /&gt;
 rake doc:reapp &lt;br /&gt;
 # 强制重新创建HTML文件的API Documentation&lt;br /&gt;
 rake doc:rerails &lt;br /&gt;
 # 强制重新创建HTML文件的API Documentation&lt;br /&gt;
 rake log:clear &lt;br /&gt;
 # 清空目录log/下的所有日志文件&lt;br /&gt;
 rake rails:freeze:edge &lt;br /&gt;
 # Lock this application to latest Edge Rails. Lock a specific revision with REVISION=X&lt;br /&gt;
 rake rails:freeze:gems &lt;br /&gt;
 # Lock this application to the current gems (by unpacking them into vendor/rails)&lt;br /&gt;
 rake rails:unfreeze &lt;br /&gt;
 # Unlock this application from freeze of gems or edge and return to a fluid use of system gems&lt;br /&gt;
 rake rails:update &lt;br /&gt;
 # Update both scripts and public/javascripts from Rails&lt;br /&gt;
 rake rails:update:javascripts &lt;br /&gt;
 # Update your javascripts from your current rails install&lt;br /&gt;
 rake rails:update:scripts &lt;br /&gt;
 # Add new scripts to the application script/ directory&lt;br /&gt;
 rake stats &lt;br /&gt;
 # Report code statistics (KLOCs, etc) from the application&lt;br /&gt;
 rake test &lt;br /&gt;
 # Test all units and functionals&lt;br /&gt;
 rake test:functionals&lt;br /&gt;
  # Run tests for functionalsdb:test&lt;img src="/img/icons/silk/emoticon_tongue.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;repare&lt;br /&gt;
 rake test:integration &lt;br /&gt;
 # Run tests for integrationdb:test&lt;img src="/img/icons/silk/emoticon_tongue.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;repare&lt;br /&gt;
 rake test&lt;img src="/img/icons/silk/emoticon_tongue.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;lugins &lt;br /&gt;
 # Run tests for pluginsenvironment&lt;br /&gt;
 rake test:recent &lt;br /&gt;
 # Run tests for recentdb:test&lt;img src="/img/icons/silk/emoticon_tongue.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;repare&lt;br /&gt;
 rake test:uncommitted &lt;br /&gt;
 # Run tests for uncommitteddb:test&lt;img src="/img/icons/silk/emoticon_tongue.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;repare&lt;br /&gt;
 rake test:units &lt;br /&gt;
 # Run tests for unitsdb:test&lt;img src="/img/icons/silk/emoticon_tongue.png" align="absmiddle" style="padding: 0px 2px 0px 2px;" border="0" /&gt;repare&lt;br /&gt;
 rake tmp:cache:clear &lt;br /&gt;
 # 清空tmp/cache目录下的所有文件&lt;br /&gt;
 rake tmp:clear &lt;br /&gt;
 # 清空session, cache, 和socket文件从tmp/目录&lt;br /&gt;
 rake tmp:create &lt;br /&gt;
 # 为sessions, cache, and sockets创建tmp/目录&lt;br /&gt;
 rake tmp:sessions:clear &lt;br /&gt;
 # 清空所有在tmp/sessions目录下的文件&lt;br /&gt;
 rake tmp:sockets:clear &lt;br /&gt;
 # 清空所有在tmp/sessions 目录下的ruby_sess.* 文件&lt;br /&gt;
&lt;br /&gt;
1.4 Scripts&lt;br /&gt;
 script/about &lt;br /&gt;
 # 输出当前环境信息&lt;br /&gt;
 script/breakpointer &lt;br /&gt;
 # 启动断点server&lt;br /&gt;
 script/console &lt;br /&gt;
 # 启动交换式的Rails控制台&lt;br /&gt;
 script/destroy &lt;br /&gt;
 # 删除通过generators创建的文件&lt;br /&gt;
 script/generate &lt;br /&gt;
 # -&amp;gt; generators&lt;br /&gt;
 script/plugin &lt;br /&gt;
 # -&amp;gt; Plugins&lt;br /&gt;
 script/runner &lt;br /&gt;
 # 执行一个任务在rails上下文中&lt;br /&gt;
 script/server &lt;br /&gt;
 # 启动开发模式服务器http://localhost:3000&lt;br /&gt;
 //以下几个不知道怎么去使用&lt;br /&gt;
 script/performance/profiler &lt;br /&gt;
 script/performance/benchmarker &lt;br /&gt;
 script/process/reaper&lt;br /&gt;
 script/process/spawner&lt;br /&gt;
&lt;br /&gt;
1.5 Generators&lt;br /&gt;
 ruby script/generate model ModelName&lt;br /&gt;
 ruby script/generate controller ListController show edit&lt;br /&gt;
 ruby script/generate scaffold ModelName ControllerName&lt;br /&gt;
 ruby script/generate migration AddNewTable&lt;br /&gt;
 ruby script/generate plugin PluginName&lt;br /&gt;
 ruby script/generate mailer Notification lost_password signup&lt;br /&gt;
 ruby script/generate web_service ServiceName api_one api_two&lt;br /&gt;
 ruby script/generate integration_test TestName&lt;br /&gt;
 ruby script/generate session_migration&lt;br /&gt;
 可选项:&lt;br /&gt;
 -p, –pretend Run but do not make any changes.&lt;br /&gt;
 -f, –force Overwrite files that already exist.&lt;br /&gt;
 -s, –skip Skip files that already exist.&lt;br /&gt;
 -q, –quiet Suppress normal output.&lt;br /&gt;
 -t, –backtrace Debugging: show backtrace on errors.&lt;br /&gt;
 -h, –help Show this help message.&lt;br /&gt;
 -c, –svn Modify files with subversion. (Note: svn must be in path) &lt;br /&gt;
&lt;br /&gt;
1.6 Plugins&lt;br /&gt;
 script/plugin discover &lt;br /&gt;
 # discover plugin repositories&lt;br /&gt;
 script/plugin list &lt;br /&gt;
 # list all available plugins&lt;br /&gt;
 script/plugin install where &lt;br /&gt;
 # install the a€wherea€? plugin&lt;br /&gt;
 script/plugin install -x where &lt;br /&gt;
 # install where plugin as SVN external&lt;br /&gt;
 script/plugin install http://invisible.ch/projects/plugins/where&lt;br /&gt;
 script/plugin update &lt;br /&gt;
 # update installed plugins&lt;br /&gt;
 script/plugin source &lt;br /&gt;
 # add a source repository&lt;br /&gt;
 script/plugin unsource &lt;br /&gt;
 # removes a source repository&lt;br /&gt;
 script/plugin sources &lt;br /&gt;
 # lists source repositories&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Source: http://www.javaeye.com/article/43500
			</description>
			<pubDate>Thu, 26 Apr 2007 15:43:24 +0800</pubDate>
			<guid>http://chinaonrails.com/topic/view/27.html</guid>
		</item>
	</channel>
</rss>