http://www.cnblogs.com/ToDoToTry/archive/2011/08/04/2127923.html
<span style="font-size: 14px;"><span face="arial, 宋体, sans-serif" style="font-family: arial, 宋体, sans-serif;"><span class="Apple-style-span" style="line-height: 24px;">rubyGems 是什么?</span></span></span>
<span style="font-size: 14px;"><span face="arial, 宋体, sans-serif" style="font-family: arial, 宋体, sans-serif;"><span class="Apple-style-span" style="line-height: 24px;"></span></span><span face="arial, 宋体, sans-serif" style="font-family: arial, 宋体, sans-serif;"><span class="Apple-style-span" style="line-height: 24px;"> RubyGems(简称 gems)是一个用于对 Rails 组件进行打包的 Ruby 打包系统。 它提供一个分发 Ruby 程序和库的标准格式,还提供一个管理程序包安装的工具。</span></span></span>
<span style="font-size: 14px;"><span face="arial, 宋体, sans-serif" style="font-family: arial, 宋体, sans-serif;"><span class="Apple-style-span" style="line-height: 24px;"> RubyGems的功能类似于Linux下的apt-get。使用它可以方便第从远程服务器下载并安装Rails。</span></span></span>
<span style="font-size: 14px;"><span face="arial, 宋体, sans-serif" style="font-family: arial, 宋体, sans-serif;"><span class="Apple-style-span" style="line-height: 24px;"> 打开命令行窗口(cmd),输入执行命令 gem install rails --remote 或 gem install rails--include-dependencies。</span></span></span>
<span style="font-size: 14px;"><span face="arial, 宋体, sans-serif" style="font-family: arial, 宋体, sans-serif;"><span class="Apple-style-span" style="line-height: 24px;"><br /></span></span></span>
<span style="font-size: 15px;"><span face="arial, 宋体, sans-serif" style="font-family: arial, 宋体, sans-serif;"><span class="Apple-style-span" style="line-height: 24px;">1. gem on rails</span></span><span class="Apple-style-span" style="font-family: sans-serif; letter-spacing: -2px; line-height: 44px; color: #000000; background-color: #ffffff;"></span></span>
<span style="color: #000000; background-color: #ffffff; font-size: 15px;"><span face="arial, 宋体, sans-serif" style="font-family: arial, 宋体, sans-serif;"><span class="Apple-style-span" style="line-height: 24px;"> </span></span><span class="Apple-style-span" style="font-family: Georgia, sans-serif; line-height: 25px;">Link or freeze RubyGems into your rails apps, instead of just plugins. </span></span>
<span style="color: #000000; background-color: #ffffff; font-size: 15px;"><span class="Apple-style-span" style="font-family: Georgia, sans-serif; line-height: 25px;">2. </span></span><span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">request-log-analytizer</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">3. mem-cached :: </span><span class="Apple-style-span" style="font-size: 14px; line-height: 21px;">cached_model </span>
<span class="Apple-style-span" style="font-size: 14px; line-height: 21px;">安装: sudo gem install cached_model</span>
<span class="Apple-style-span" style="font-family: Verdana, 'Lucida Grande', 'Helvetica Neue', Helvetica, sans-serif; font-size: 12px; line-height: 18px; white-space: normal;">Many <a href="http://www.43things.com/" style="color: black; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #e5cb00; text-decoration: none; padding: 0px; margin: 0px;">speedy</a> sites use memcached to save the results of expensive database queries and intense rendered templates. This is a basic introduction to using memcached with Rails. </span>
<span class="Apple-style-span" style="font-family: Verdana, 'Lucida Grande', 'Helvetica Neue', Helvetica, sans-serif; font-size: 12px; line-height: 18px; white-space: normal;">4. CSS graphs :报表工具</span>
<span class="Apple-style-span" style="font-family: Verdana, 'Lucida Grande', 'Helvetica Neue', Helvetica, sans-serif; font-size: 12px; line-height: 18px; white-space: normal;">A Ruby on Rails helper for making simple graphs. The graphs use only<span class="caps" style="text-transform: uppercase; font-size: 0.95em; letter-spacing: 0.1em; padding: 0px; margin: 0px;">CSS</span>/HTML (and an optional gradient image).</span>
<span class="Apple-style-span" style="font-family: Verdana, 'Lucida Grande', 'Helvetica Neue', Helvetica, sans-serif; font-size: 12px; line-height: 18px; white-space: normal;">5. Bullet :: 数据查询性能优化</span>
<span class="Apple-style-span" style="font-family: Verdana, 'Lucida Grande', 'Helvetica Neue', Helvetica, sans-serif; font-size: 12px; line-height: 18px; white-space: normal;"><span class="Apple-style-span" style="font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20px; background-color: #f8f8f8;">The Bullet plugin/gem is designed to help you increase your application’s performance by reducing the number of queries it makes. </span></span>
<span class="Apple-style-span" style="font-family: Verdana, 'Lucida Grande', 'Helvetica Neue', Helvetica, sans-serif; font-size: 12px; line-height: 18px; white-space: normal;">6.</span><span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">rails_reviewer </span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">项目遇到严重的性能问题,主要是数据库查询过多, 推荐<a href="http://code.google.com/p/query-reviewer/" style="border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 13px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #004b91; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;">rails_reviewer</a>插件</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">7.</span><span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">Benchmark 基准测试</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">8.</span><span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">query_reviewer </span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">9.</span><span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><a href="http://ruby.sadi.st/Flog.html" style="border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 13px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #004b91; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;">Flog</a>是一个计算你的Ruby代码复杂度的工具,来自<a href="http://seattlerb.rubyforge.org/" style="border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 13px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #004b91; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;">大牛Ryan Davis的seattle.rb项目</a>。</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">10.God ,, monit 的ruby 版本</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">11. rails application visuallizer ,将rails项目中的类 模型 --关系,可视化</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">12.google chart api , 图表生成</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">13. </span><span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">Rseg</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">Rseg 是一个基于纯Ruby的中文分词插件,内置了CC-CEDICT和维基百科两本字典,目前只支持Ruby 187以上版本及UTF8编码。</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">14.logrotate 自动打包rails日志</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">15.</span><span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><a href="http://seattlerb.org/ar_mailer" style="border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 13px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #004b91; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;">ar_mailer</a>是个很不错的邮件发送插件,工作原理是将邮件发送分为两部分,首先将邮件保存到数据库,然后在调用后台程序实现异步发送,可惜的是目前还不支持Rails 3,于是花了一个下午,将它移植到了Rails 3,这就是:<a href="http://github.com/yzhang/ar_mailer_rails3" style="border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 13px; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: #004b91; background-position: initial initial; background-repeat: initial initial; border-width: 0px; padding: 0px; margin: 0px;">ar_mailer_rails3</a>。</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">16.city_helper</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">省市二级联动select插件,http://www.letrails.cn/archives/city-helper-update-i18n-and-country-support/</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;">17..rcov是一个用于诊断Ruby代码覆盖率的工具,它最主要的用途就是用于确定单元测试是否覆盖到了所有代码,rcov使用一个经过优化的C运行时,因此性能相当惊人,同时它还提供多种格式的输出。</span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><br /></span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><br /></span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><a href="http://www.letrails.cn/page/14/">http://www.letrails.cn/page/14/</a></span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><a href="http://nubyonrails.com/articles/memcached-basics-for-rails">http://nubyonrails.com/articles/memcached-basics-for-rails</a></span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><a href="http://www.ibm.com/developerworks/cn/web/wa-rubyrails/ruby.html">http://www.ibm.com/developerworks/cn/web/wa-rubyrails/ruby.html</a></span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><a href="http://www.rubyinside.com/">http://www.rubyinside.com/</a></span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><a href="http://www.letrails.cn/">http://www.letrails.cn</a></span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><a href="http://flouri.sh/">http://flouri.sh/</a></span>
<span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 24px; white-space: normal;"><br /></span>
分类: 5-Rails
![](http://img.zemanta.com/pixy.gif?x-id=f7be367e-9e47-8070-9db5-37c808ad2e15)