Awesome Ruby Awesome

A categorized community-driven collection of awesome Ruby libraries, tools, frameworks and software. The essential Ruby to build modern Apps and Web Apps.

Sharing, suggestions and contributions are always welcome! Please take a look at the contribution guidelines and quality standard first.

Thanks to all contributors, you're awesome and this wouldn't be possible without you!

Abstraction

  • ActiveInteraction - Manage application specific business logic.
  • Apotomo - Based on Cells, Apotomo gives you widgets and encapsulation, bubbling events, AJAX page updates, rock-solid testing and more.
  • Cells - View Components for Rails.
  • Decent Exposure - A helper for creating declarative interfaces in controllers.
  • dry-rb - dry-rb is a collection of next-generation Ruby libraries, each intended to encapsulate a common task.
  • Interactor - Interactor provides a common interface for performing complex interactions in a single request.
  • Light Service - Series of Actions with an emphasis on simplicity.
  • Mutations - Compose your business logic into commands that sanitize and validate input.
  • Responders - A set of Rails responders to dry up your application.
  • Surrounded - Encapsulated related objects in a single system to add behavior during runtime. Extensible implementation of DCI.
  • Trailblazer - Trailblazer is a thin layer on top of Rails. It gently enforces encapsulation, an intuitive code structure and gives you an object-oriented architecture.
  • wisper - A micro library providing Ruby objects with Publish-Subscribe capabilities.

Admin Interface

  • ActiveAdmin - A Ruby on Rails framework for creating elegant backends for website administration.
  • Administrate - A Rails engine that helps you put together a super-flexible admin dashboard, by Thoughtbot.
  • bhf - A simple to use Rails-Engine-Gem that offers an admin interface for trusted user.
  • Faalis - A Rails engine which provides a robust platform to develop web applications. It contains a very simple yet powerful admin/dashboard interface too.
  • RailsAdmin - A Rails engine that provides an easy-to-use interface for managing your data.
  • Typus - Ruby on Rails control panel to allow trusted users edit structured content.

Analytics

  • Ahoy - A solid foundation to track visits and events in Ruby, JavaScript, and native apps.
  • Analytical - Gem for managing multiple analytics services in your rails app.
  • Gabba - Simple way to send server-side notifications to Google Analytics.
  • Impressionist - Rails Plugin that tracks impressions and page views.
  • Legato - Model analytics reports and queries against the official Google Analytics Reporting API.
  • Rack::Tracker - Rack middleware that can be hooked up to multiple services and exposing them in a unified fashion.
  • Staccato - Track analytics into the official Google Analytics Collection API.

API Builder and Discovery

  • ActiveModel::Serializers - JSON serialization of objects.
  • Blanket - A dead simple API wrapper.
  • Crêpe - The thin API stack.
  • Grape - An opinionated micro-framework for creating REST-like APIs in Ruby.
  • Her - an ORM that maps REST resources to Ruby objects. Designed to build applications that are powered by a RESTful API instead of a database.
  • jbuilder - Create JSON structures via a Builder-style DSL.
  • JSONAPI::Resources - JSONAPI::Resources, or "JR", provides a framework for developing a server that complies with the JSON API specification.
  • JSONAPI::Utils - JSONAPI::Utils is built on top of JSONAPI::Resources taking advantage of its resource-driven style and bringing an easy way to build modern JSON APIs with no or less learning curve.
  • Jsonite - A tiny, HAL-compliant JSON presenter for your APIs.
  • Pliny - Opinionated template Sinatra app for writing excellent APIs in Ruby.
  • rabl - General ruby templating with json, bson, xml, plist and msgpack support.
  • Rails::API - Rails for API only applications.
  • Roar - Resource-Oriented Architectures in Ruby.
  • Spyke - Interact with REST services in an ActiveRecord-like manner.
  • Version Cake - An unobtrusive way to version APIs in your Rails app.
  • versionist - A plugin for versioning Rails based RESTful APIs.

Assets

  • Compass - Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.
  • Emoji - Exposes the Phantom Open Emoji library unicode/image assets and APIs for working with them.
  • Less Rails - The dynamic stylesheet language for the Rails asset pipeline.
  • Less - Leaner CSS, in your browser or Ruby.
  • Sass - Sass makes CSS fun again.
  • Management:
    • Asset Sync - Synchronises Assets between Rails and S3.
    • Autoprefixer - Parse CSS and add vendor prefixes to rules by Can I Use.
    • bower-rails - Bower support for Rails projects.
    • Rails Assets - Bundler to Bower proxy.
    • Sprockets - Rack-based asset packaging system.
    • Torba - Bower-less bundler for Sprockets.

Authentication and OAuth

  • Authlogic - Authlogic is a clean, simple, and unobtrusive ruby authentication solution.
  • Clearance - Small and simple email & password based authenticaton for Rails.
  • Devise - A flexible authentication solution for Rails based on Warden.
  • JWT - JSON Web Token implementation in Ruby.
  • Knock - Seamless JWT authentication for Rails API.
  • Monban - A very simple and extensible user authentication library for rails.
  • OmniAuth - A library that standardizes multi-provider authentication utilizing Rack middleware.
  • Rodauth - Authentication and account management framework for Rack applications.
  • Shield - Authentication protocol for use in your routing and model context.
  • Sorcery - Magical Authentication for Rails 4, and Rails 5.
  • warden - General Rack Authentication Framework.
  • OAuth:
    • Doorkeeper - An OAuth2 provider for Rails.
    • OAuth2 - A Ruby wrapper for the OAuth 2.0 protocol.

Authorization

  • acl9 - Acl9 is a role-based authorization system that provides a concise DSL for securing your Rails application.
  • AccessGranted - Multi-role and whitelist based authorization gem for Rails.
  • Authority - ORM-neutral way to authorize actions in your Rails app.
  • CanCanCan - Continuation of CanCan, an authorization Gem for Ruby on Rails.
  • Declarative Authorization - An authorization Rails plugin using a declarative DSL for specifying authorization rules in one place.
  • Pundit - Minimal authorization through OO design and pure Ruby classes.

Automation

  • Huginn - Huginn is a system for building agents that perform automated tasks for you online.

Caching

  • Action caching for Action Pack - Action caching for Action Pack.
  • Dalli - A high performance pure Ruby client for accessing memcached servers.
  • Garner - A set of Rack middleware and cache helpers that implement various caching strategies.
  • IdentityCache - A blob level caching solution to plug into ActiveRecord.
  • Kashmir - Kashmir is a Ruby DSL that makes serializing and caching objects a snap.
  • Readthis - High performance, pooled, ActiveSupport compliant caching with Redis.
  • Record Cache - Cache Active Model Records in Rails 3.
  • redis-store - Redis Store provides a full set of stores (Cache, I18n, Session, HTTP Cache) for modern Ruby frameworks like: Ruby on Rails, Sinatra, Rack, Rack::Cache and I18n. It supports object marshalling, timeouts, single or multiple nodes, and namespaces.
  • Second Level Cache - Write-Through and Read-Through caching library for ActiveRecord 4.

CLI Builder

  • Clamp - A command-line application framework.
  • Cocaine - A small library for doing (command) lines.
  • Commander - The complete solution for Ruby command-line executables.
  • GLI - Git-Like Interface Command Line Parser.
  • Main - A class factory and DSL for generating command line programs real quick.
  • Rake - A make-like build utility for Ruby.
  • Slop - Simple Lightweight Option Parsing.
  • Thor - A toolkit for building powerful command-line interfaces.
  • Trollop - A commandline option parser for Ruby that just gets out of your way.
  • TTY - Toolbox for developing CLI clients.

CLI Utilities

  • formatador - STDOUT text formatting.
  • Paint - Simple and fast way to set ANSI terminal colors.
  • Pastel - Terminal output styling with intuitive and clean API.
  • Ru - Ruby in your shell.
  • Ruby/Progressbar - The most flexible text progress bar library for Ruby.
  • Terminal Table - Ruby ASCII Table Generator, simple and feature rich.
  • Tmuxinator - Create and manage complex tmux sessions easily.

Cloud

  • AWS SDK for Ruby - The official AWS SDK for Ruby.
  • browse-everything - Multi-provider Rails engine providing access to files in cloud storage.
  • Fog - The Ruby cloud services library.

CMS

  • Alchemy CMS - A powerful, userfriendly and flexible Open Source Rails CMS.
  • Camaleon CMS - A dynamic and advanced content management system based on Ruby on Rails 4.
  • Comfortable Mexican Sofa - A powerful Rails 4 CMS Engine.
  • LocomotiveCMS - A simple but powerful CMS based on Liquid templates and Mongodb database.
  • Publify - A self hosted Web publishing platform on Rails.
  • PushType - A next generation, open source content management system for Ruby on Rails.
  • Radiant - A no-fluff, open source content management system designed for small teams.
  • Refinery CMS - An open source Ruby on Rails content management system for Rails 3 and 4.
  • Spina CMS - A beautiful CMS for Rails developers.
  • Storytime - Rails 4+ CMS and bloging engine, with a core focus on content.

Code Analysis and Metrics

  • Barkeep - Barkeep is a fast, fun way to review code. Engineering organizations can use it to keep the bar high.
  • Brakeman - A static analysis security vulnerability scanner for Ruby on Rails applications.
  • Cane - Code quality threshold checking as part of your build.
  • Coverband - Rack middleware to help measure production code coverage.
  • Fasterer - Make your Rubies go faster with this command line tool highly inspired by fast-ruby and Sferik's talk at Baruco Conf.
  • Flay - Flay analyzes code for structural similarities. Differences in literal values, variable, class, method names, whitespace, programming style, braces vs do/end, etc are all ignored. Making this totally rad.
  • Flog - Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.
  • fukuzatsu - Complexity analysis tool with a rich web front-end.
  • MetricFu - A fist full of code metrics.
  • Pippi - A utility for finding suboptimal Ruby class API usage, focused on runtime analysis.
  • Pronto - Quick automated code review of your changes.
  • rails_best_practices - A code metric tool for rails projects.
  • Reek - Code smell detector for Ruby.
  • RuboCop - A static code analyzer, based on the community Ruby style guide.
  • Rubycritic - A Ruby code quality reporter.
  • Scientist - A Ruby library for carefully refactoring critical paths.
  • SimpleCov - Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites.
  • Traceroute - A Rake task gem that helps you find the dead routes and actions for your Rails 3+ app

Code Highlighting

  • CodeRay - Fast and easy syntax highlighting for selected languages.
  • pygments.rb - A Ruby wrapper for the Python pygments syntax highlighter.
  • Rouge - A pure Ruby code highlighter that is compatible with Pygments.

Coding Style Guides

  • Best-Ruby - Ruby Tricks, Idiomatic Ruby, Refactoring & Best Practices.
  • fast-ruby - Writing Fast Ruby. Collect Common Ruby idioms.
  • Fundamental Ruby - Fundamental programming ruby with examples. Threads, design patterns, data structures, OOP SOLID principle, algorithms.
  • Rails style guide - Community-driven Rails best practices and style for Rails 3 and 4.
  • RSpec style guide - Better Specs { rspec guidelines with ruby }.
  • Ruby style guide - Community-driven Ruby coding style.

Concurrency

  • Celluloid - Actor-based concurrent object framework for Ruby.
  • Concurrent Ruby - Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.
  • EventMachine - An event-driven I/O and lightweight concurrency library for Ruby.

Configuration

  • Configatron - Simple and feature rich configuration system for Ruby apps.
  • Configus - Helps you easily manage environment specific settings.
  • dotenv - Loads environment variables from .env.
  • Econfig - Flexible configuration for Rails applications.
  • ENVied - ensure presence and type of your app's ENV-variables
  • Figaro - Simple, Heroku-friendly Rails app configuration using ENV and a single YAML file.
  • Global - Provides accessor methods for your configuration data.
  • RailsConfig - Multi-environment yaml settings for Rails3.

Core Extensions

  • ActiveSupport - A collection of utility classes and standard library extensions.
  • Addressable - Addressable is a replacement for the URI implementation that is part of Ruby's standard library. It more closely conforms to RFC 3986, RFC 3987, and RFC 6570 (level 4), providing support for IRIs and URI templates.
  • Finishing Moves - Small, focused, incredibly useful methods added to core Ruby classes. Includes the endlessly useful nil_chain.
  • Hamster - Efficient, immutable, and thread-safe collection classes for Ruby.
  • Hanami::Utils - Lightweight, non-monkey-patch class utilities for Hanami and Ruby app.
  • Ruby Facets - The premiere collection of general purpose method extensions and standard additions for Ruby.
  • Attributes
    • ActiveAttr - What ActiveModel left out.
    • FastAttributes - FastAttributes adds attributes with their types to the class.
    • Virtus - Attributes on Steroids for Plain Old Ruby Objects.
  • Hash
    • Hashie - A collection of tools that extend Hashes and make them more useful.

Country Data

  • Carmen - A repository of geographic regions.
  • Countries - All sorts of useful information about every country packaged as pretty little country objects.
  • GlobalPhone - Parse, validate, and format phone numbers in Ruby using Google's libphonenumber database.
  • i18n_data - country/language names and 2-letter-code pairs, in 85 languages, for country/language i18n.
  • normalize_country - Convert country names and codes to a standard, includes a conversion program for XMLs, CSVs and DBs.

CRM

  • Fat Free CRM - An open source Ruby on Rails based customer relationship management platform.

Dashboards

  • Dashing - A Sinatra based framework that lets you build beautiful dashboards.
  • Dashing-Rails - The exceptionally handsome dashboard framework for Rails.

Data Processing and ETL

  • Kiba - A lightweight data processing / ETL framework for Ruby.

Data Visualization

  • Chartkick - Create beautiful Javascript charts with one line of Ruby. Works with Rails, Sinatra and most browsers (including IE 6).
  • GeoPattern - Create beautiful generative geometric background images from a string.
  • LazyHighCharts - A simple and extremely flexible way to use HighCharts from ruby code. Tested on Ruby on Rails, Sinatra and Nanoc, but it should work with others too.
  • RailRoady - Ruby on Rails 3/4 model and controller UML class diagram generator.
  • Rails Erd - Generate Entity-Relationship Diagrams for Rails applications.
  • Ruby/GraphViz - Ruby interface to the GraphViz graphing tool.

Database Drivers

  • Cassandra Driver - A pure ruby driver for Apache Cassandra with asynchronous io and configurable load balancing, reconnection and retry policies.
  • DataObjects - An attempt to rewrite existing Ruby database drivers to conform to one, standard interface.
  • mongo-ruby-driver - MongoDB Ruby driver.
  • moped - A MongoDB driver for Ruby.
  • mysql2 - A modern, simple and very fast Mysql library for Ruby (binding to libmysql).
  • Neography - A thin Ruby wrapper to the Neo4j Rest API.
  • Redic - Lightweight Redis Client.
  • redis-rb - A Ruby client that tries to match Redis' API one-to-one, while still providing an idiomatic interface.
  • ruby-pg - Ruby interface to PostgreSQL 8.3 and later.
  • SQLite3 - Ruby bindings for the SQLite3 embedded database.
  • SQL Server - The SQL Server adapter for ActiveRecord.
  • TinyTDS - FreeTDS bindings for Ruby using DB-Library.

Database Tools

  • Database Cleaner - Database Cleaner is a set of strategies for cleaning your database in Ruby.
  • Foreigner - Adds foreign key helpers to migrations and correctly dumps foreign keys to schema.rb.
  • Large Hadron Migrator - Online MySQL schema migrations without locking the table.
  • Lol DBA - Scan your models and displays a list of columns that probably should be indexed.
  • Polo - Creates sample database snapshots to work with real world data in development.
  • PgHero - Postgres insights made easy.
  • Rails DB - Database Viewer and SQL Query Runner.
  • Scenic - Versioned database views for Rails.
  • SchemaPlus - SchemaPlus provides a collection of enhancements and extensions to ActiveRecord
  • Seedbank - Seedbank allows you to structure your Rails seed data instead of having it all dumped into one large file.
  • Seed dump - Rails 4 task to dump (parts) of your database to db/seeds.rb.
  • Seed Fu - Advanced seed data handling for Rails.
  • Upsert - Upsert on MySQL, PostgreSQL, and SQLite3. Transparently creates functions (UDF) for MySQL and PostgreSQL; on SQLite3, uses INSERT OR IGNORE.
  • SecondBase - Seamless second database integration for Rails. SecondBase provides support for Rails to manage dual databases by extending ActiveRecord tasks that create, migrate, and test your application.

Date and Time Processing

  • biz - Time calculations using business hours.
  • business_time - Support for doing time math in business hours and days.
  • ByStar - Find ActiveRecord objects by year, month, fortnight, week and more!
  • Chronic - A natural language date/time parser written in pure Ruby.
  • groupdate - The simplest way to group temporal data in ActiveRecord, arrays and hashes.
  • ice_cube - A date recurrence library which allows easy creation of recurrence rules and fast querying.
  • local_time - Rails Engine for cache-friendly, client-side local time.
  • montrose - a simple library for expressing, serializing, and enumerating recurring events in Ruby
  • time-lord - Adds extra functionality to the time class.
  • time_diff - Calculates the difference between two time.
  • TZinfo - Provides daylight savings aware transformations between times in different timezones.
  • validates_timeliness - Date and time validation plugin for ActiveModel and Rails.
  • yymmdd - Tiny DSL for idiomatic date parsing and formatting.

Debugging Tools

  • Byebug - A simple to use, feature rich debugger for Ruby 2.
  • did_you_mean - Adds class, method & attributute suggestions to error messages.
  • Pry Byebug - Pry navigation commands via byebug.
  • Rails Footnotes - Rails footnotes displays footnotes in your application for easy debugging, such as sessions, request parameters, cookies, filter chain, routes, queries, etc.
  • Seeing Is Believing - Displays the results of every line of code in your file.
  • Xray - A development tool that reveals your UI's bones.

Decorators

  • Draper - Draper adds an object-oriented layer of presentation logic to your Rails application.
  • ShowFor - Quickly show a model information with I18n features. Like form_for for displaying model data.

DevOps Tools

  • Backup - Provides an elegant DSL in Ruby for performing backups on UNIX-like systems.
  • Blender - A modular system orchestration framework with pluggable driver and host discovery.
  • BOSH - Cloud Foundry BOSH is an open source tool chain for release engineering, deployment and lifecycle management of large scale distributed services.
  • Capistrano - A remote server automation and deployment tool written in Ruby.
  • Centurion - A mass deployment tool for Docker fleets.
  • Chef - A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
  • Deployinator - Deployinator is a deployment framework extracted from Etsy.
  • Einhorn - Einhorn will open one or more shared sockets and run multiple copies of your process. You can seamlessly reload your code, dynamically reconfigure Einhorn, and more.
  • Kochiku - Kochiku is a distributed platform for test automation.
  • Lita - ChatOps for Ruby: A pluggable chat bot framework usable with any chat service.
  • Logstash - Logs/event transport, processing, management, search.
  • Mina - Really fast deployer and server automation tool.
  • Puppet - An automated administrative engine for your Linux, Unix, and Windows systems, performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification.
  • Request-log-analyzer - Create reports based on your log files. Supports Rails, Apache, MySQL, Delayed::Job, and other formats.
  • Rubber - The rubber plugin enables relatively complex multi-instance deployments of RubyOnRails applications to Amazon's Elastic Compute Cloud (EC2).
  • SSHKey - SSH private and public key generator in pure Ruby (RSA & DSA).
  • Ruby-LXC - Native ruby binding for Linux containers.
  • Vagrant - Create and configure lightweight, reproducible, and portable development environments.

Documentation

  • Annotate - Add a comment documenting the current schema to the top or bottom of each of your ActiveRecord models.
  • Apipie - Rails API documentation and display tool using Ruby syntax.
  • Asciidoctor - A fast, Ruby-based text processor & publishing toolchain for converting AsciiDoc to HTML5, DocBook, EPUB3, PDF & more.
  • Doctor - Doctor is a Documentation Server for all your docs in github.
  • Documentation - A Rails engine to provider the ability to add documentation to a Rails application.
  • GitHub Changelog Generator - Automatically generate change log from your tags, issues, labels and pull requests on GitHub.
  • grape-swagger - Add swagger compliant documentation to your Grape API.
  • Hanna - An RDoc formatter built with simplicity, beauty and ease of browsing in mind.
  • Hologram - A markdown based documentation system for style guides. It parses comments in your CSS and helps you turn them into a beautiful style guide.
  • Inch - Inch is a documentation measurement and evalutation tool for Ruby code, based on YARD.
  • RDoc - RDoc produces HTML and command-line documentation for Ruby projects.
  • rspec_api_documentation - Automatically generate API documentation from RSpec.
  • YARD - YARD enables the user to generate consistent, usable documentation that can be exported to a number of formats very easily.

E-Commerce and Payments

  • Active Merchant - A simple payment abstraction library extracted from Shopify.
  • Braintree - Braintree Ruby bindings.
  • Conekta - Conekta Ruby bindings.
  • credit_card_validations - A ruby gem for validating credit card numbers, generating valid numbers, Luhn checks.
  • Koudoku - Robust subscription support for Ruby on Rails apps using Stripe, including out-of-the-box pricing pages, payment pages, and subscription management.
  • Payola - Drop-in Rails engine for accepting payments with Stripe.
  • Paypal Merchant SDK - Official Paypal Merchant SDK for Ruby.
  • Piggybak - Modular, Extensible open-source ecommerce solution for Ruby on Rails.
  • ROR Ecommerce - A Rails e-commerce platform.
  • Shoppe - A Rails-based e-commerce platform which allows you to easily introduce a catalogue-based store into your Rails 4 applications.
  • Solidus - An open source, eCommerce application for high volume retailers.
  • Spree - Spree is a complete open source e-commerce solution for Ruby on Rails.
  • stripe-ruby - Stripe Ruby bindings.

Ebook

  • Bookshop - Bookshop is a an open-source agile book development and publishing framework for authors, editors.
  • Eeepub - EeePub is a Ruby ePub generator.
  • Gepub - A generic EPUB library for Ruby : supports EPUB 3.
  • Git Scribe - Basically the best way to write an ebook.
  • Mobi - A Ruby way to read MOBI format metadata.
  • Review - Re:VIEW is flexible document format/conversion system.

Email

  • Griddler - Simplify receiving email in Rails
  • Incoming - Incoming! helps you receive email in your Rack apps.
  • LetterOpener - Preview mail in the browser instead of sending.
  • Mail - A Really Ruby Mail Library.
  • MailCatcher - Catches mail and serves it through a dream.
  • MailForm - Send e-mail straight from forms in Rails with I18n, validations, attachments and request information.
  • Mailman - An incoming mail processing microframework in Ruby.
  • Markerb - Allows you to render multipart e-mails from a single template written in Markdown.
  • Pony - The express way to send mail from Ruby.
  • premailer-rails - CSS styled emails without the hassle.
  • Roadie - Roadie tries to make sending HTML emails a little less painful by inlining stylesheets and rewriting relative URLs for you inside your emails.
  • Sup - A curses threads-with-tags style email client.

Encryption

  • RbNaCl - Ruby binding to the Networking and Cryptography (NaCl) library.
  • Symmetric Encryption - Transparently encrypt ActiveRecord, Mongoid, and MongoMapper attributes. Encrypt passwords in configuration files. Encrypt entire files at rest.
  • Themis - crypto library for painless data security, providing symmetric and asymmetric encryption, secure sockets with forward secrecy, for mobile and server platforms.

Environment Management

  • chruby - Change your current Ruby. No shims, no crazy options or features, ~90 LOC.
  • fry - Simple ruby version manager for fish.
  • gem_home - A tool for changing your $GEM_HOME.
  • rbenv - Use rbenv to pick a Ruby version for your application and guarantee that your development environment matches production.
  • ruby-build - Compile and install Ruby.
  • ruby-install - Installs Ruby, JRuby, Rubinius, MagLev or MRuby.
  • RVM - RVM is a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.
  • Tokaido - Ruby, Rails, SQLite and Redis encapsulated in a single drag-and-drop OS X app, designed to make installing a working RoR environment easy for beginners.

Error Handling

  • Airbrake - The official Airbrake library for Ruby on Rails (and other Rack based frameworks).
  • Better Errors - Better error page for Rack apps.
  • Bugsnag - Error monitoring for Rails, Sinatra, Rack, and plain Ruby apps.
  • Errbit - The open source, self-hosted error catcher.
  • Exception Handler - Custom error pages.
  • Exception Notification - A set of notifiers for sending notifications when errors occur in a Rack/Rails application.
  • Honeybadger - Exception, uptime, and performance monitoring for Ruby.
  • Nesty - Nested exceptions for Ruby.
  • Raven Ruby - Raven is a Ruby client for Sentry.

Feature Flippers and A/B Testing

  • Motorhead - A Rails Engine framework that helps safe and rapid feature prototyping.
  • flipper - Feature flipping for ANYTHING. Make turning features on/off so easy that everyone does it. Whatever your data store, throughput, or experience.
  • Rollout - Feature flippers.
  • Split - Rack Based AB testing framework.
  • Vanity - an A/B testing framework for Rails that is datastore agnostic.

File Upload

  • CarrierWave - Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks.
  • DragonFly - A Ruby gem for on-the-fly processing - suitable for image uploading in Rails, Sinatra and much more!.
  • PaperClip - Easy file attachment management for ActiveRecord.
  • rack-secure-upload - Upload files securely.
  • Refile - A modern file upload library for Ruby applications, Refile is an attempt by CarrierWave's original author to fix the design mistakes and overengineering in CarrierWave.
  • Shrine - Toolkit for handling file uploads in Ruby
  • attache - Standalone image and file server to decouple your app from file management concerns: https://attache-demo.herokuapp.com.

Form Builder

  • Abracadabra - The gem that swaps out text with a fully-compliant Rails form in one click.
  • Formtastic - A Rails form builder plugin with semantically rich and accessible markup.
  • Rails Bootstrap Forms - Rails form builder that makes it super easy to create beautiful-looking forms with Twitter Bootstrap 3+.
  • Simple Form - Rails forms made easy.
  • Nested Forms:
    • ActiveForm - Provides an object-oriented approach to represent your forms by building a Form Object which deals with create/update actions of nested objects in a more seamless way.
    • Cocoon - Dynamic nested forms using jQuery made easy; works with formtastic, simple_form or default forms.
    • Reform - Gives you a form object with validations and nested setup of models. It is completely framework-agnostic and doesn't care about your database.

Game Development

  • Gosu - A 2D game development library for the Ruby and C++ programming languages.
  • Yeah - Practical Ruby video game framework.

Geolocation

  • Geocoder - A complete geocoding solution for Ruby. With Rails it adds geocoding (by street or IP address), reverse geocoding (find street address based on given coordinates), and distance queries.
  • geoip - Searches a GeoIP database for a given host or IP address, and returns information about the country where the IP address is allocated, and the city, ISP and other information.
  • Geokit - Geokit gem provides geocoding and distance/heading calculations.
  • Google Maps for Rails - Enables easy Google map + overlays creation in Ruby apps.
  • rgeo - Geospatial data library. Spatial data types, geometric and spherical calculations, and WKT/WKB serialization.

Git Tools

  • ginatra - A web frontend for Git repositories.
  • git-auto-bisect - Find the commit that broke master.
  • git_reflow - An automated quality control workflow for Agile teams.
  • git-spelunk - Dig through git blame history.
  • git-up - Fetch and rebase all locally-tracked remote branches.
  • git-whence - Find which merge a commit came from.
  • Overcommit - A fully configurable and extendable Git hook manager.
  • Rugged - Ruby bindings to libgit2.

GUI

  • qtbindings - Allows the QT Gui toolkit to be used from Ruby.
  • RubyGnome2 - Ruby language bindings for the GNOME 2.0 development environment.
  • Shoes - Shoes makes building little graphical programs for Mac, Windows, and Linux super simple.

HTML/XML Parsing

  • HappyMapper - Object to XML mapping library, using Nokogiri.
  • HTML::Pipeline - HTML processing filters and utilities.
  • Nokogiri - An HTML, XML, SAX, and Reader parser with XPath and CSS selector support.
  • Oga - An XML/HTML parser written in Ruby. Oga does not require system libraries such as libxml, making it easier and faster to install on various platforms.
  • Ox - A fast XML parser and Object marshaller.
  • ROXML - Custom mapping and bidirectional marshalling between Ruby and XML using annotation-style class methods, via Nokogiri or LibXML.

HTTP Clients

  • excon - Usable, fast, simple Ruby HTTP 1.1. It works great as a general HTTP(s) client and is particularly well suited to usage in API clients.
  • Faraday - an HTTP client lib that provides a common interface over many adapters (such as Net::HTTP) and embraces the concept of Rack middleware when processing the request/response cycle.
  • Http Client - Gives something like the functionality of libwww-perl (LWP) in Ruby.
  • HTTP - The HTTP Gem: a simple Ruby DSL for making HTTP requests.
  • httparty - Makes http fun again!
  • Http-2 - Pure Ruby implementation of HTTP/2 protocol
  • Patron - Patron is a Ruby HTTP client library based on libcurl.
  • RESTClient - Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.
  • Savon - Savon is a SOAP client for the Ruby programming language.
  • Sawyer - Secret user agent of HTTP, built on top of Faraday.
  • Typhoeus - Typhoeus wraps libcurl in order to make fast and reliable requests.

Image Processing

  • MiniMagick - A ruby wrapper for ImageMagick or GraphicsMagick command line.
  • Phasion - Ruby wrapper around pHash, the perceptual hash library for detecting duplicate multimedia files.
  • PSD.rb - Parse Photoshop files in Ruby with ease.
  • RMagick - RMagick is an interface between Ruby and ImageMagick.
  • Skeptick - Skeptick is an all-purpose DSL for building and running ImageMagick commands.

Implementations/Compilers

  • JRuby - A Java implementation of the Ruby language.
  • MRuby - Lightweight Ruby. Can be linked and embedded in your application.
  • Opal - Ruby to Javascript compiler.
  • Rubinius - An implementation of the Ruby programming language. Rubinius includes a bytecode virtual machine, Ruby syntax parser, bytecode compiler, generational garbage collector, just-in-time (JIT) native machine code compiler, and Ruby Core and Standard libraries.

Internationalization

  • FastGettext - Ruby internationalization tool with less memory, simple, clean namespace and threadsafe.
  • Globalize - Globalize builds on the I18n API in Ruby on Rails to add model translations to ActiveRecord models.
  • i18n-tasks - Manage missing and unused translations with the awesome power of static analysis.
  • i18n - Ruby Internationalization and localization solution.
  • r18n - Advanced i18n library for Rails, Sinatra, desktop apps, models, works well with complex languages like Russian.
  • Termit - Translations with speech synthesis in your terminal.
  • twitter-cldr-rb - Ruby implementation of the ICU (International Components for Unicode) that uses the Common Locale Data Repository to format dates, plurals, and more.

IRB

  • Hirb - A mini view framework for console/irb that's easy to use, even while under its influence. Console goodies include a no-wrap table, auto-pager, tree and menu.
  • irbtools - Improvements for Ruby's IRB.
  • Pry - A powerful alternative to the standard IRB shell for Ruby.

Logging

  • Cabin - Structured+contextual logging experiments in Ruby.
  • Fluentd - Fluentd collects events from various data sources and writes them to files, database or other types of storages.
  • HttpLog - Log outgoing HTTP requests.
  • Log4r - Log4r is a comprehensive and flexible logging library for use in Ruby programs.
  • Logging - A flexible logging library for use in Ruby programs based on the design of Java's log4j library.
  • Lograge - An attempt to tame Rails' default policy to log everything.
  • MongoDB Logger - MongoDB logger for Rails.
  • Scrolls - Simple logging.
  • Semantic Logger - Scalable, next generation enterprise logging for Ruby.
  • Yell - Your Extensible Logging Library.

Machine Learning

  • PredictionIO Ruby SDK - The PredictionIO Ruby SDK provides a convenient API to quickly record your users' behavior and retrieve personalized predictions for them.
  • rb-libsvm - Ruby language bindings for LIBSVM. SVM is a machine learning and classification algorithm.
  • Ruby Datumbox Wrapper - It's a simple Ruby Datumbox Wrapper. At the moment the API currently allows you to build applications that make use of machine learning algorithms.
  • weka - Machine learning and data mining algorithms for JRuby.

Markdown Processors

  • kramdown - Kramdown is yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition and supporting several common extensions.
  • Maruku - A pure-Ruby Markdown-superset interpreter.
  • Redcarpet - A fast, safe and extensible Markdown to (X)HTML parser.
  • word-to-markdown - Gem to convert Microsoft Word documents to Markdown.

Misc

  • auto_html - Rails extension for transforming URLs to appropriate resource (image, link, YouTube, Vimeo video...)
  • Betty - Friendly English-like interface for your command line. Don't remember a command? Ask Betty.
  • Bh - Bootstrap Helpers for Ruby.
  • Clipboard - Access to the system clipboard on Linux, MacOS and Windows.
  • Device Detector - A precise and fast user agent parser and device detector, backed by the largest and most up-to-date user agent database.
  • Diffy - Easy Diffing With Ruby.
  • Foreman - Manage Procfile-based applications.
  • Gollum - A simple, Git-powered wiki with a sweet API and local frontend.
  • gon - If you need to send some data to your js files and you don't want to do this with long way through views and parsing - use gon.
  • Guard - A command line tool to easily handle events on file system modifications.
  • JsonCompare - Returns the difference between two JSON files.
  • play ► - Your company's dj.
  • PluggableJs - Page-specific javascript for Rails applications with the ability of passing data from a controller.
  • QR-code - A Ruby library that encodes QR Codes
  • RubyDNS - A high-performance DNS server which can be easily integrated into other projects or used as a stand-alone daemon.
  • Ruby Operators - A webpage showing awesome names for different Ruby operators.

Mobile Development

  • dryrun - Try any Android library on your smartphone directly from the command line.
  • fastlane - Connect all iOS deployment tools into one streamlined workflow.
  • Ruboto - A platform for developing full stand-alone apps for Android using the Ruby language and libraries.
  • RubyMotion - A revolutionary toolchain that lets you quickly develop and test full-fledged native iOS and OS X applications for iPhone, iPad, Mac and Android.
  • Ruby Push Notifications - iOS, Android and Windows Phone Push notifications made easy.
  • Rpush - The push notification service for Ruby which supports Apple Push Notification Service, Google Cloud Messaging, Amazon Device Messaging and Windows Phone Push Notification Service.

Money

  • eu_central_bank - A gem that calculates the exchange rate using published rates from European Central Bank.
  • Monetize - A library for converting various objects into Money objects.
  • Money - A Ruby Library for dealing with money and currency conversion.

Music and Sound

  • Sonic Pi - A live coding synth for everyone originally designed to support computing and music lessons.

Natural Language Processing

  • Awesome NLP with Ruby - Awesome List for Practical Natural Language Processing done in Ruby.
  • Parslet - A small Ruby library for constructing parsers in the PEG (Parsing Expression Grammar) fashion.
  • pocketsphinx-ruby - Ruby speech recognition with Pocketsphinx.
  • Pragmatic Segmenter - Pragmatic Segmenter is a rule-based sentence boundary detection gem that works out-of-the-box across many languages.
  • Ruby Natural Language Processing Resources - Collection of links to Ruby Natural Language Processing (NLP) libraries, tools and software.
  • Text - A collection of text algorithms including Levenshtein distance, Metaphone, Soundex 2, Porter stemming & White similarity.
  • Treat - Treat is a toolkit for natural language processing and computational linguistics in Ruby.
  • Treetop - PEG (Parsing Expression Grammar) parser.
  • Words Counted - A highly customisable Ruby text analyser and word counter.

Navigation

  • active_link_to - View helper to manage "active" state of a link.
  • Breadcrumbs on Rails - A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation for a Rails project.
  • Gretel - A Ruby on Rails plugin that makes it easy yet flexible to create breadcrumbs.
  • loaf - Manages and displays breadcrumb trails in Rails app - lean & mean.
  • Simple Navigation - A ruby gem for creating navigation (html list, link list or breadcrumbs with multiple levels) for your Rails 2, 3 & 4, Sinatra or Padrino.

ORM/ODM

  • ActiveRecord - Object-relational mapping in Rails.
  • DataMapper - ORM which works well with legacy databases. Last release (1.2.0) was on 13 October 2011.
  • Guacamole - An ODM for ArangoDB.
  • Hanami::Model - A lean Repository-pattern based ORM framework for Hanami and modern Ruby applications.
  • Mongoid - An ODM (Object-Document-Mapper) framework for MongoDB in Ruby.
  • MongoMapper - A Ruby Object Mapper for Mongo.
  • MongoModel - Ruby ODM for interfacing with MongoDB databases.
  • Neo4j.rb - A Neo4j OGM (Object-Graph-Mapper) for use in Ruby on Rails and Rack frameworks heavily inspired by ActiveRecord.
  • NoBrainer - A RethinkDB ORM for Ruby
  • Ohm - Object-hash mapping library for Redis.
  • Perpetuity - Persistence gem for Ruby objects using the Data Mapper pattern.
  • Redis-Objects - Redis Objects provides a Rubyish interface to Redis, by mapping Redis data types to Ruby objects, via a thin layer over the redis gem.
  • ROM - Ruby Object Mapper (ROM) is an experimental Ruby library with the goal to provide powerful object mapping capabilities without limiting the full power of your datastore.
  • Sequel - Sequel is a simple, flexible, and powerful SQL database access toolkit for Ruby.

ORM/ODM Extensions

  • Auditing and Versioning
    • ActsAsParanoid - ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
    • Audited - Audited is an ORM extension for ActiveRecord & MongoMapper that logs all changes to your models.
    • Destroyed At - Allows you to "destroy" an object without deleting the record or associated records.
    • Espinita - Audit activerecord models like a boss.
    • marginalia - Attach comments to your ActiveRecord queries. By default, it adds the application, controller, and action names as a comment at the end of each query.
    • mongoid-history - Multi-user non-linear history tracking, auditing, undo, redo for mongoid.
    • PaperTrail - Track changes to your ActiveRecord models' data for auditing or versioning.
    • Paranoia - A re-implementation of acts_as_paranoid for Rails 3 and 4, using much, much, much less code.
    • PermenantRecords - Soft-delete your ActiveRecord records, like an explicit version of ActsAsParanoid.
  • Import
    • ActiveImporter - Define importers that load tabular data from spreadsheets or CSV files into any ActiveRecord-like ORM.
    • ActiveRecord Import - a library for bulk inserting data using ActiveRecord.
    • bulk_insert - A little ActiveRecord extension for helping to insert lots of rows in a single insert statement.
    • data_miner - Download, pull out of a ZIP/TAR/GZ/BZ2 archive, parse, correct, and import XLS, ODS, XML, CSV, HTML, etc. into your ActiveRecord models.
    • ferry - A ruby gem for easy data transfer.
  • Misc
    • ActiveRecord::Turntable - A database sharding extension for ActiveRecord.
    • ActiveValidators - An exhaustive collection of off-the-shelf and tested ActiveModel/ActiveRecord validations.
    • Enumerize - Enumerated attributes with I18n and ActiveRecord/Mongoid/MongoMapper support.
    • Goldiloader - Automatic ActiveRecord eager loading.
    • mini_record - ActiveRecord meets DataMapper, with MiniRecord you are be able to write schema inside your models.
  • Multi-tenancy
    • Acts As Tennant - Add multi-tenancy to a Rails app through a shared database strategy.
    • Apartment - Multi-tenancy for Rails and ActiveRecord.
    • Milia - Non-invasive multi-tenancy for Rails which supports Devise authentication out o