Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Practical Ruby Gems and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
56 used & new from $0.01

Have one to sell? Sell yours here
 
   
Practical Ruby Gems
 
 
Start reading Practical Ruby Gems on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  
3.5 out of 5 stars See all reviews (6 customer reviews)

List Price: $39.99
Price: $22.57 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $17.42 (44%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, July 7? Choose One-Day Shipping at checkout. Details
34 new from $1.99 22 used from $0.01
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $20.31

Special Offers and Product Promotions


Frequently Bought Together

Practical Ruby Gems + Pro Active Record: Databases with Ruby and Rails + Beginning Rails: From Novice to Professional (Beginning from Novice to Professional)
Price For All Three: $75.15

Customers Who Bought This Item Also Bought

Practical Ruby for System Administration (Expert's Voice in Open Source)

Practical Ruby for System Administration (Expert's Voice in Open Source)

by André Ben Hamou
4.2 out of 5 stars (4)  $32.84
Advanced Rails

Advanced Rails

by Brad Ediger
4.7 out of 5 stars (9)  $23.09
Beginning Rails: From Novice to Professional (Beginning from Novice to Professional)

Beginning Rails: From Novice to Professional (Beginning from Novice to Professional)

by Jeffrey Allan Hardy
3.3 out of 5 stars (13)  $25.54
Practical Rails Projects (Expert's Voice)

Practical Rails Projects (Expert's Voice)

by Eldon Alameda
4.2 out of 5 stars (5)  $32.84
Ruby Cookbook (Cookbooks (O'Reilly))

Ruby Cookbook (Cookbooks (O'Reilly))

by Lucas Carlson
4.7 out of 5 stars (30)  $31.49
Explore similar items


Editorial Reviews

Product Description

Practical Ruby Gems is a comprehensive guide to utilizing and creating Ruby Gemsready-made Ruby code modules that can be easily added to Ruby and Rails projects. This book is ideal for Ruby programmers as well as web developers who use Rails and wish to extend the functionality of their projects.

Youll get a prime selection of 34 of the best and most useful Gems, which makes up the core of this book. Each of these also comes complete with actual use cases and code examples that you can use immediately in your own projects. Youll learn how Ruby Gems can be used to

  • Validate credit cards.
  • Create graphical interfaces on multiple platforms.
  • Speed up Rails applications.
  • Develop lightweight web applications.
  • Use ActiveRecord to make databases easy.
  • Process RSS feeds.
  • Prevent spam using CAPTCHA.
  • Crop and scale images.
  • Tap into the same caching system that runs LiveJournal.com.
  • And much, much more!

    Youll also learn how to package and distribute your own Ruby Gems. This lets you tap into powerful mechanisms for resolving dependencies. And the book takes a detailed look at how Gems differ between operating systems, so youll be prepared whether your desktop runs OS X, Windows, or Linux. Youll also learn how you can share code more easily between projects, optionally sharing your contributions with the world!



    About the Author

    Berube is a Ruby developer, trainer, author, and speaker. He’s used both Ruby and Ruby on Rails for several years, starting in 2003 when he became a Ruby advocate after he wrote about the language for Dr Dobb's Journal. Prior to this he worked professionally with PHP, Perl, C++, and Visual Basic.


    His professional accomplishments include creating the Ruby on Rails engine for CoolRuby.com (http://coolruby.com), a site that tracks the latest Ruby developments, and working with ThoughtBot (http://www.thoughtbot.com.) on the Rails engine that powers Sermo America's Top Doctor contest. Additionally, he has worked on several other Ruby projects, including the engine powering CyberKnowHow's BirdFluBreakingNews search engine, and he also created the Slueshi text adventure game system, a multiplayer text game engine written in Ruby.


    David's journalism has been in print in over 65 countries, in magazines such as Linux Magazine, Dr Dobb's Journal, and PHP International Magazine. He's also taught college courses and spoken publicly on topics such as "MySQL and You" and "Making Money with Open Source Software."


    He lives in New Hampshire and his hobbies include basketball, yo-yos, and sleep.


Product Details

  • Paperback: 271 pages
  • Publisher: Apress (April 16, 2007)
  • Language: English
  • ISBN-10: 1590598113
  • ISBN-13: 978-1590598115
  • Product Dimensions: 9.1 x 6.8 x 0.9 inches
  • Shipping Weight: 15.2 ounces (View shipping rates and policies)
  • Average Customer Review: 3.5 out of 5 stars See all reviews (6 customer reviews)
  • Amazon.com Sales Rank: #142,876 in Books (See Bestsellers in Books)

Inside This Book (learn more)


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(7)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

 

Customer Reviews

6 Reviews
5 star:
 (1)
4 star:
 (1)
3 star:
 (4)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
3.5 out of 5 stars (6 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
6 of 6 people found the following review helpful:
3.0 out of 5 stars Fundamentals of Gems, and a guided tour of what's available, July 22, 2007
By D. P. Cahill (Wexford, Ireland) - See all my reviews
(REAL NAME)   
Practical Ruby Gems does exactly what it says on the tin. The first few chapters cover what gems are, how to install them and manage versions. The final chapters cover how to create and distribute your own gems.

Sandwiched between these fundamentals are a slew of concrete examples with code, covering topics like html parsing (hpricot) and RSS parsing (feedtools), zip and pdf manipulation, as well as topics more familiar to Rails people, such as the use of mongrel, rake, and ActiveRecord.

My first impression was that info on specific gems could easily be found by checking their documentation online.

However, after reading more, I realised I had missed the point. In theory, you could get this stuff online, but in practice, the often poor online documentation can't replace clear explanations and concrete code examples. This book fills you in on the fundamentals, then gives an interesting tour of some of the major gems available, with ready to use code. By bringing this all together, it will almost definitely spark some ideas on how to use gems to improve your Ruby code or your Rails apps.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
1 of 1 people found the following review helpful:
5.0 out of 5 stars Great for expanding the power of ruby, December 7, 2007
I'm learning Ruby and building Rails applications. This book offers a valuable overview of some of the Gems available for expanding the power of Ruby, including detailed descriptions of a selection of popular Gems. Things like online image manipulation and PDF creation are possible to easily implement with some of the Ruby Gems described in this book.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
2 of 3 people found the following review helpful:
3.0 out of 5 stars Helpful introduction, but fairly lightweight and repetitive, January 13, 2008
By James Stewart (Grand Rapids, MI, USA) - See all my reviews
(REAL NAME)   
For those who aren't aware, ruby gems refers a way of packaging up code so it can be easily distributed for other developers to use, and a tool to help with the distributing and/or installing that code.

On first glancing at this book, I wondered how you could fill a full-length book on the topic of gems. While getting the tools installed on some systems requires care, and there's space for a couple of chapters on packaging your own libraries as gems, both topics have been covered alongside other topics in numerous volumes. What I'd missed was that contents not only covers both of those topics, but also looks at 26 different gems and explains how you might use them in your projects.

The coverage of setting up and using ruby gems at the start of the book, and on packaging and distributing your own gems at the end of the book are brief but cover the basics well enough. It might have been helpful had the latter included a little information on how to include other libraries that need to be compiled and managing the cross-platform issues that raises. Chances are anyone planning to do that is well capable of reverse-engineering a gem spec file to work out what's needed, but it would have added some weight and helped these chapters stand out from their equivalents in other volumes.

The gems profiled cover a wide range of uses: databases, certain web services, parsing HTML, web frameworks, recurring events, PDF generation, and more. Most of them are pretty well known libraries, but few of us will have had a chance to try them all out and newcomers to the ruby community looking for some support in their projects may well find some useful tips within.

For each gem there is an introduction, some basic code samples, a lengthier code sample (with commentary) and conclusion. That repetition means this isn't a book many will want to wade through in one go. I found that after a while I needed a break, and if reading the book it may be best to pick out a gem that particularly interests you, read the relevant section and then write some code of your own before moving on to another.

A number of times I wondered if it would be preferable to drop some of the best known gems (there are plenty of ActiveRecord examples floating around) in favour of a little more depth. In particular it would have been interesting to see a dissection of how a few of the gems work, as a sign that anyone can contribute, to see what can be learned from techniques used, and to better understand how the gems in question can be used. Such explorations might serve to break up the text a bit, as well as providing useful insights into ruby development and perhaps broadening the appeal of the book a little.

Overall, Practical Ruby Gems was a helpful read and there are a few new gems I'm going to be exploring as a result of my reading, but you may well want to take a close look before investing in a copy. You may broaden your ruby knowledge in the reading, but you're unlikely to deepen it significantly.

Disclaimer: I was sent a copy of this book for review by the publisher.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

3.0 out of 5 stars Essentially good, but plagued by errors and suffers from aging
This book contains three parts:

Part 1 deals with what gems are, how to install them and do version control. Read more
Published 1 month ago by waveninja

3.0 out of 5 stars Good book, if you have a need for it
Some books are more tutorial in nature, some more reference. This one is *really* reference, so much so that if you don't need to use the covered gems, there's no reason to buy... Read more
Published 18 months ago by Larry

4.0 out of 5 stars Practical and clear
Ruby has risen meteorically in prominence in the past few years, and the number of Ruby books has gone from a couple to a couple dozen. Read more
Published 21 months ago by Ted Roche

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Summer Sales

Omaha Steaks Hamburgers
Shop the summer food sale and save up to 50% on salsas and spreads, steaks and burgers, seafood, oils and vinegars, and desserts, only at Amazon Gourmet.

See all sale items

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Take the Rough with the Smooth

Shop for Sanding Sleeves
Perfect for any industrial sanding application, sanding sleeves are designed for heavy-duty use.

Shop for sanding sleeves

 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
Glenn Beck's Common Sense
Glenn Beck's Common Sense
Darkfever
Darkfever by Karen Marie Moning

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates