all repos — h3rald @ 85abf5c629c64f65112928c2737db6a27e82129e

The sources of https://h3rald.com

content/ruby-compendium/book/gem-tips.html

 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
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
-----
permalink: t_9
title: Ruby Compendium – What you can use for...
type: page
-----
<nav class="navigation"><a href="/ruby-compendium/book/gems.html">← Ruby Gems</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/resources.html">Resources →</a></nav>
<p>You could spend hours on the RubyGems web site to find what you&#8217;re looking for sometimes. Not because you can&#8217;t find it, but because often there are too many alternative libraries that overlap in terms of functionalities offered.</p>
<p>A site to check when you don&#8217;t know much of what has been done in a particular domain is <a href="http://ruby-toolbox.com/">The Ruby Toolbox</a>, which organizes quite a lot of gems into <a href="http://ruby-toolbox.com/categories.html">categories</a>. This section is somewhat similar, but it focuses on just a few common tasks and a small set of hand-picked gems.</p>

<section class="section">
<header><h1 id="h_18" class="toc">Command Line Applications</h1></header>
<p><strong>cmdparse</strong> <blockquote>&#8220;cmdparse provides classes for parsing commands on the command line; command line options are parsed using optparse or any other option parser implementation.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://cmdparse.rubyforge.org/">http://cmdparse.rubyforge.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/cmdparse">http://www.rubygems.org/gems/cmdparse</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/cmdparse">http://www.rubydoc.info/gems/cmdparse</a></li>
</ul>
	
	<p><strong>gli</strong> <blockquote>&#8220;An application and <span class="caps">API</span> for describing command line interfaces that can be used to quickly create a shell for executing command-line tasks.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://davetron5000.github.com/gli">http://davetron5000.github.com/gli</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/gli">http://www.rubygems.org/gems/gli</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/gli">http://www.rubydoc.info/gems/gli</a></li>
</ul>
	
	<p><strong>highline</strong> <blockquote>&#8220;A high-level IO library that provides validation, type conversion, and more for command-line interfaces. HighLine also includes a complete menu system that can crank out anything from simple list selection to complete shells with just minutes of work.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://highline.rubyforge.org/">http://highline.rubyforge.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/highline">http://www.rubygems.org/gems/highline</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/highline">http://www.rubydoc.info/gems/highline</a></li>
</ul>
	
	<p><strong>hirb</strong> <blockquote>&#8220;A mini view framework for console/irb that&#8217;s easy to use, even while under its influence. Console goodies include a no-wrap table, auto-pager, tree and menu&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="https://github.com/cldwalker/hirb">https://github.com/cldwalker/hirb</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/hirb">http://www.rubygems.org/gems/hirb</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/hirb">http://www.rubydoc.info/gems/hirb</a></li>
</ul>

</section>
<section class="section">
<header><h1 id="h_19" class="toc">Documentation</h1></header>
<p><strong>glyph</strong> <blockquote>&#8220;Glyph is a framework for structured document authoring.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://www.h3rald.com/glyph/">http://www.h3rald.com/glyph/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/glyph">http://www.rubygems.org/gems/glyph</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/glyph">http://www.rubydoc.info/gems/glyph</a></li>
</ul>
	
	<p><strong>rdoc</strong> <blockquote>&#8220;RDoc produces <span class="caps">HTML</span> and online documentation for Ruby projects. RDoc includes the rdoc and ri tools for generating and displaying online documentation.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="https://github.com/rdoc/rdoc/">https://github.com/rdoc/rdoc/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/rdoc">http://www.rubygems.org/gems/rdoc</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/rdoc">http://www.rubydoc.info/gems/rdoc</a></li>
</ul>
	
	<p><strong>yard</strong> <blockquote>&#8220;<span class="caps">YARD</span> is a documentation generation tool for the Ruby programming language. It enables the user to generate consistent, usable documentation that can be exported to a number of formats very easily, and also supports extending for custom Ruby constructs such as custom class level definitions.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://yardoc.org/">http://yardoc.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/yard">http://www.rubygems.org/gems/yard</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/yard">http://www.rubydoc.info/gems/yard</a></li>
</ul>

</section>
<section class="section">
<header><h1 id="h_20" class="toc">Gem Management</h1></header>
<p><strong>bundler</strong> <blockquote>&#8220;Bundler manages an application&#8217;s dependencies through its entire life, across many machines, systematically and repeatably.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://gembundler.com/">http://gembundler.com/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/bundler">http://www.rubygems.org/gems/bundler</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/bundler">http://www.rubydoc.info/gems/bundler</a></li>
</ul>
	
	<p><strong>jeweler</strong> <blockquote>&#8220;Simple and opinionated helper for creating Rubygem projects on GitHub&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://github.com/technicalpickles/jeweler">http://github.com/technicalpickles/jeweler</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/jeweler">http://www.rubygems.org/gems/jeweler</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/jeweler">http://www.rubydoc.info/gems/jeweler</a></li>
</ul>
	
	<p><strong>bones</strong> <blockquote>&#8220;Mr Bones is a handy tool that creates new projects from a code skeleton.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="https://github.com/TwP/bones">https://github.com/TwP/bones</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/bones">http://www.rubygems.org/gems/bones</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/bones">http://www.rubydoc.info/gems/bones</a></li>
</ul>

</section>
<section class="section">
<header><h1 id="h_21" class="toc">GUI Programming</h1></header>
<p><strong>bowline</strong> <blockquote>&#8220;Ruby/JS <span class="caps">GUI</span> framework&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://bowlineapp.com/">http://bowlineapp.com/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/bowline">http://www.rubygems.org/gems/bowline</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/bowline">http://www.rubydoc.info/gems/bowline</a></li>
</ul>
	
	<p><strong>fxruby</strong> <blockquote>&#8220;FXRuby is the Ruby binding to the <span class="caps">FOX</span> <span class="caps">GUI</span> toolkit&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://www.fxruby.org/">http://www.fxruby.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/fxruby">http://www.rubygems.org/gems/fxruby</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/fxruby">http://www.rubydoc.info/gems/fxruby</a></li>
</ul>
	
	<p><strong>wxruby</strong> <blockquote>&#8220;wxRuby allows the creation of graphical user interface (<span class="caps">GUI</span>) applications via the wxWidgets library. wxRuby provides native-style <span class="caps">GUI</span> windows, dialogs and controls on platforms including Windows, OS X and Linux.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://wxruby.org/">http://wxruby.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/wxruby">http://www.rubygems.org/gems/wxruby</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/wxruby">http://www.rubydoc.info/gems/wxruby</a></li>
</ul>
	
	<p><strong>qtruby4</strong> <blockquote>&#8220;Qt4 Bindings for Ruby.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://rubyforge.org/projects/korundum/">http://rubyforge.org/projects/korundum/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/qtruby4">http://www.rubygems.org/gems/qtruby4</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/qtruby4">http://www.rubydoc.info/gems/qtruby4</a></li>
</ul>
	
	<p><strong>rugui</strong> <blockquote>&#8220;RuGUI is a framework which aims to help building desktop applications. RuGUI was mostly inspired by the Ruby on Rails framework, taking most of its features from it.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://rugui.org/">http://rugui.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/rugui">http://www.rubygems.org/gems/rugui</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/rugui">http://www.rubydoc.info/gems/rugui</a></li>
</ul>
	<aside class="box">
<div class="box-title">What about Shoes?</div>
<a href="http://shoesrb.com/">Shoes</a> is a cross-platform, easy-to-use Ruby toolkit originally created by <a href="/ruby-compendium/book/rubyists.html#_why"></a>. Unfortunately, it is distributed as a standalone application rather than a gem (yet), due to its internal architecture and dependencies.

</aside>

</section>
<section class="section">
<header><h1 id="h_22" class="toc">Markup and Template Languages</h1></header>
<p><strong>bluecloth</strong> <blockquote>&#8220;BlueCloth is a Ruby implementation of Markdown, a text-to-<span class="caps">HTML</span> conversion tool for web writers. To quote from the project page: Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid <span class="caps">XHTML</span> (or <span class="caps">HTML</span>).&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://www.deveiate.org/projects/BlueCloth">http://www.deveiate.org/projects/BlueCloth</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/bluecloth">http://www.rubygems.org/gems/bluecloth</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/bluecloth">http://www.rubydoc.info/gems/bluecloth</a></li>
</ul>
	
	<p><strong>github-markup</strong> <blockquote>&#8220;This gem is used by GitHub to render any fancy markup such as Markdown, Textile, Org-Mode, etc. Fork it and add your own!&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://github.com/github/markup">http://github.com/github/markup</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/github-markup">http://www.rubygems.org/gems/github-markup</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/github-markup">http://www.rubydoc.info/gems/github-markup</a></li>
</ul>
	
	<p><strong>haml</strong> <blockquote>&#8220;Haml (<span class="caps">HTML</span> Abstraction Markup Language) is a layer on top of <span class="caps">XHTML</span> or <span class="caps">XML</span> that&#8217;s designed to express the structure of <span class="caps">XHTML</span> or <span class="caps">XML</span> documents in a non-repetitive, elegant, easy way, using indentation rather than closing tags and allowing Ruby to be embedded with ease. It was originally envisioned as a plugin for Ruby on Rails, but it can function as a stand-alone templating engine.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://haml-lang.com/">http://haml-lang.com/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/haml">http://www.rubygems.org/gems/haml</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/haml">http://www.rubydoc.info/gems/haml</a></li>
</ul>
	
	<p><strong>liquid</strong> <blockquote>&#8220;A secure, non-evaling end user template engine with aesthetic markup.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://www.liquidmarkup.org/">http://www.liquidmarkup.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/liquid">http://www.rubygems.org/gems/liquid</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/liquid">http://www.rubydoc.info/gems/liquid</a></li>
</ul>
	
	<p><strong>mustache</strong> <blockquote>&quot;Inspired by ctemplate, Mustache is a framework-agnostic way to render logic-free views. As ctemplates says, &#8220;It emphasizes separating logic from presentation: it is impossible to embed application logic in this template language. Think of Mustache as a replacement for your views. Instead of views consisting of <span class="caps">ERB</span> or <span class="caps">HAML</span> with random helpers and arbitrary logic, your views are broken into two parts: a Ruby class and an <span class="caps">HTML</span> template.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://github.com/defunkt/mustache">http://github.com/defunkt/mustache</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/mustache">http://www.rubygems.org/gems/mustache</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/mustache">http://www.rubydoc.info/gems/mustache</a></li>
</ul>
	
	<p><strong>rdiscount</strong> <blockquote>&#8220;Fast Implementation of Gruber&#8217;s Markdown in C&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://github.com/rtomayko/rdiscount/">http://github.com/rtomayko/rdiscount/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/rdiscount">http://www.rubygems.org/gems/rdiscount</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/rdiscount">http://www.rubydoc.info/gems/rdiscount</a></li>
</ul>
	
	<p><strong>redcloth</strong> <blockquote>&#8220;RedCloth is a Ruby library for converting Textile into <span class="caps">HTML</span>.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://redcloth.org/">http://redcloth.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/redcloth">http://www.rubygems.org/gems/redcloth</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/redcloth">http://www.rubydoc.info/gems/redcloth</a></li>
</ul>

</section>
<section class="section">
<header><h1 id="h_23" class="toc">Static Web Site Generators</h1></header>
<p><strong>jekyll</strong> <blockquote>&#8220;Jekyll is a simple, blog aware, static site generator.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://jekyllrb.com/">http://jekyllrb.com/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/jekyll">http://www.rubygems.org/gems/jekyll</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/jekyll">http://www.rubydoc.info/gems/jekyll</a></li>
</ul>
	
	<p><strong>nanoc</strong> <blockquote>&#8220;a web publishing system written in Ruby for building small to medium-sized websites.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://nanoc.stoneship.org/">http://nanoc.stoneship.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/nanoc">http://www.rubygems.org/gems/nanoc</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/nanoc">http://www.rubydoc.info/gems/nanoc</a></li>
</ul>
	
	<p><strong>toto</strong> <blockquote>&#8220;the tiniest blog-engine in Oz.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://cloudhead.io/toto">http://cloudhead.io/toto</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/toto">http://www.rubygems.org/gems/toto</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/toto">http://www.rubydoc.info/gems/toto</a></li>
</ul>
	
	<p><strong>webby</strong> <blockquote>&#8220;Webby is a fantastic little website management system. It would be called a content management system if it were a bigger kid. But, it&#8217;s just a runt with a special knack for transforming text. And that&#8217;s really all it does &#8211; manages the legwork of turning text into something else, an <span class="caps">ASCII</span> Alchemist if you will.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://webby.rubyforge.org/">http://webby.rubyforge.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/webby">http://www.rubygems.org/gems/webby</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/webby">http://www.rubydoc.info/gems/webby</a></li>
</ul>

</section>
<section class="section">
<header><h1 id="h_24" class="toc">Testing</h1></header>
<p><strong>bacon</strong> <blockquote>&#8220;Bacon is a small RSpec clone weighing less than 350 LoC but nevertheless providing all essential features.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://github.com/chneukirchen/bacon">http://github.com/chneukirchen/bacon</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/bacon">http://www.rubygems.org/gems/bacon</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/bacon">http://www.rubydoc.info/gems/bacon</a></li>
</ul>
	
	<p><strong>cucumber</strong> <blockquote>&#8220;Behaviour Driven Development with elegance and joy&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://cukes.info/">http://cukes.info/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/cucumber">http://www.rubygems.org/gems/cucumber</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/cucumber">http://www.rubydoc.info/gems/cucumber</a></li>
</ul>
	
	<p><strong>minitest</strong> <blockquote>&#8220;minitest provides a complete suite of testing facilities supporting <span class="caps">TDD</span>, <span class="caps">BDD</span>, mocking, and benchmarking. minitest/unit is a small and incredibly fast unit testing framework.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="https://github.com/seattlerb/minitest">https://github.com/seattlerb/minitest</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/minitest">http://www.rubygems.org/gems/minitest</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/minitest">http://www.rubydoc.info/gems/minitest</a></li>
</ul>
	
	<p><strong>rspec</strong> <blockquote>&#8220;RSpec is a Behaviour-Driven Development tool for Ruby programmers. <span class="caps">BDD</span> is an approach to software development that combines Test-Driven Development, Domain Driven Design, and Acceptance Test-Driven Planning. RSpec helps you do the <span class="caps">TDD</span> part of that equation, focusing on the documentation and design aspects of <span class="caps">TDD</span>.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://relishapp.com/rspec">http://relishapp.com/rspec</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/rspec">http://www.rubygems.org/gems/rspec</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/rspec">http://www.rubydoc.info/gems/rspec</a></li>
</ul>
	
	<p><strong>shoulda</strong> <blockquote>&#8220;Making tests easy on the fingers and eyes&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://www.thoughtbot.com/projects/shoulda">http://www.thoughtbot.com/projects/shoulda</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/shoulda">http://www.rubygems.org/gems/shoulda</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/shoulda">http://www.rubydoc.info/gems/shoulda</a></li>
</ul>

</section>
<section class="section">
<header><h1 id="h_25" class="toc">Web Development</h1></header>
<p><strong>rails</strong> <blockquote>&#8220;Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://rubyonrails.org/">http://rubyonrails.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/rails">http://www.rubygems.org/gems/rails</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/rails">http://www.rubydoc.info/gems/rails</a></li>
</ul>
	
	<p><strong>sinatra</strong> <blockquote>&#8220;Classy web-development dressed in a <span class="caps">DSL</span>&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://www.sinatrarb.com/">http://www.sinatrarb.com/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/sinatra">http://www.rubygems.org/gems/sinatra</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/sinatra">http://www.rubydoc.info/gems/sinatra</a></li>
</ul>
	
	<p><strong>padrino-framework</strong> <blockquote>&#8220;The Godfather of Sinatra provides a full-stack agnostic framework on top of Sinatra&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://www.padrinorb.com/">http://www.padrinorb.com/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/padrino-framework">http://www.rubygems.org/gems/padrino-framework</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/padrino-framework">http://www.rubydoc.info/gems/padrino-framework</a></li>
</ul>
	
	<p><strong>merb-core</strong> <blockquote>&#8220;Merb. Pocket rocket web framework.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://www.merbivore.com/">http://www.merbivore.com/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/merb-core">http://www.rubygems.org/gems/merb-core</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/merb-core">http://www.rubydoc.info/gems/merb-core</a></li>
</ul>
	
	<p><strong>ramaze</strong> <blockquote>&#8220;Ramaze is a simple and modular web framework&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://ramaze.net/">http://ramaze.net/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/ramaze">http://www.rubygems.org/gems/ramaze</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/ramaze">http://www.rubydoc.info/gems/ramaze</a></li>
</ul>
	
	<p><strong>camping</strong> <blockquote>&#8220;miniature rails for stay-at-home moms&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://camping.rubyforge.org/">http://camping.rubyforge.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/camping">http://www.rubygems.org/gems/camping</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/camping">http://www.rubydoc.info/gems/camping</a></li>
</ul>

</section>
<section class="section">
<header><h1 id="h_26" class="toc">Web and App Servers</h1></header>
<p><strong>passenger</strong> <blockquote>&#8220;Easy and robust Ruby web application deployment.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://www.modrails.com/">http://www.modrails.com/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/passenger">http://www.rubygems.org/gems/passenger</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/passenger">http://www.rubydoc.info/gems/passenger</a></li>
</ul>
	
	<p><strong>rack</strong> <blockquote>&#8220;Rack provides a minimal interface between webservers supporting Ruby and Ruby frameworks.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://rack.rubyforge.org/">http://rack.rubyforge.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/rack">http://www.rubygems.org/gems/rack</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/rack">http://www.rubydoc.info/gems/rack</a></li>
</ul>
	
	<p><strong>thin</strong> <blockquote>&#8220;A thin and fast web server&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://code.macournoyer.com/thin/">http://code.macournoyer.com/thin/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/thin">http://www.rubygems.org/gems/thin</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/thin">http://www.rubydoc.info/gems/thin</a></li>
</ul>
	
	<p><strong>unicorn</strong> <blockquote>&#8220;Unicorn is an <span class="caps">HTTP</span> server for Rack applications designed to only serve fast clients on low-latency, high-bandwidth connections and take advantage of features in Unix/Unix-like kernels.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://unicorn.bogomips.org/">http://unicorn.bogomips.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/unicorn">http://www.rubygems.org/gems/unicorn</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/unicorn">http://www.rubydoc.info/gems/unicorn</a></li>
</ul>

</section>
<section class="section">
<header><h1 id="h_27" class="toc">XML Parsing</h1></header>
<p><strong>hpricot</strong> <blockquote>&#8220;a swift, liberal <span class="caps">HTML</span> parser with a fantastic library&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://code.whytheluckystiff.net/hpricot/">http://code.whytheluckystiff.net/hpricot/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/hpricot">http://www.rubygems.org/gems/hpricot</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/hpricot">http://www.rubydoc.info/gems/hpricot</a></li>
</ul>
	
	<p><strong>nokogiri</strong> <blockquote>&#8220;An <span class="caps">HTML</span>, <span class="caps">XML</span>, <span class="caps">SAX</span>, &amp; Reader parser with the ability to search documents via XPath or CSS3 selectors&#8230; and much more&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://nokogiri.org/">http://nokogiri.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/nokogiri">http://www.rubygems.org/gems/nokogiri</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/nokogiri">http://www.rubydoc.info/gems/nokogiri</a></li>
</ul>
	
	<p><strong>xml-simple</strong> <blockquote>&#8220;A simple <span class="caps">API</span> for <span class="caps">XML</span> processing.&#8221;</blockquote></p>
<ul>
	<li>Web Page: <a href="http://xml-simple.rubyforge.org/">http://xml-simple.rubyforge.org/</a></li>
	<li>Download: <a href="http://www.rubygems.org/gems/xml-simple">http://www.rubygems.org/gems/xml-simple</a></li>
	<li>Documentation: <a href="http://www.rubydoc.info/gems/xml-simple">http://www.rubydoc.info/gems/xml-simple</a></li>
</ul>

</section>
<nav class="navigation"><a href="/ruby-compendium/book/gems.html">← Ruby Gems</a> | <a href="/ruby-compendium/book/index.html">Contents</a> | <a href="/ruby-compendium/book/resources.html">Resources →</a></nav>