Tools

RubyGems 1.0.0 Released

Eric Hodel has just announced the release of RubyGems 1.0.0. As you probably already know, RubyGems is the de-facto package / library manager for Ruby applications and libraries, and almost every Ruby developer will have a version installed. There aren't many new features with this major version release, but lots of fixes, tweaks, and stability and usability enhancements. One key thing to note, however, is that require_gem is no longer supported, so if you have code that depends on that, you will have a little work to do before upgrading.

Read more →

Mailtrap: Dummy Ruby SMTP server (ideal for testing ActionMailer)

Trap

Mailtrap is a "dummy" SMTP server developed in Ruby by Matt Mower. The main use for Mailtrap is to act as an SMTP server that runs locally and can be sent mail which can be inspected for debugging purposes. For example, your Rails application running locally might need to send mail using ActionMailer, and while you want it to go through all of the SMTP motions, you don't want the mail to really be sent.. enter Mailtrap! In this blog post, Matt goes into more details about how Mailtrap works, why it's a good idea, and the motivation behind its development.

Read more →

Interesting Ruby Tidbits That Don’t Warrant Separate Posts #1

Welcome to the first "Interesting Ruby Tidbits That Don't Warrant Separate Posts"! This is going to be a somewhat regular feature of all the reasonably interesting things I'm e-mailed about or discover that aren't getting as much attention as they should, but which aren't captivating enough to warrant an entire post on their own. So without further ado..thread-dump librarythread-dump is an interesting library that lets you to get a dump of thread activity when a Ruby process quits by Greg Fodor. In his own words:

Read more →

Sake: System-wide Rake Tasks

Sake is a RubyGem by Chris Wanstrath which executes and manages system-wide Rake tasks. Whereas Rake is project-specific, Sake allows the developer to examine, install, run, and uninstall Rake files and tasks globally, much like the way Rubygems does this for Ruby libraries.

Read more →

Easy RubyGem Publishing With Hoe

Geoffrey Grosenbach, author of the famous PeepCode screencasts, has written a tutorial about using Ryan Davis' hoe library to make releasing your own RubyGems a cakewalk. Geoffrey says that using Hoe turns a laborious, multi-step twenty minute process into only a few Rake tasks. Hoe takes the automation of Gem publishing seriously, and once you've set it up properly you can go as far as let it post announcements (to your blog and/or Rubyforge), build your docs, create an e-mail announcement, run testing packages against the library, as well as actually releasing and uploading the gem to Rubyforge ready for public consumption. CPAN, eat your heart out!

Read more →