How to get better at Ruby scripting?

This page summarizes the projects mentioned and recommended in the original post on /r/ruby

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • codewars.com

    Issue tracker for Codewars

  • If you want to get better at Ruby in general maybe try codewars?

  • rubygems

    Library packaging and distribution for Ruby.

  • I think the first thing to do is get out of the rails comfort zone and get used to hacking inside of IRB with a local bundle. bundle exec irb -I. is where everything ruby begins for me. Just start searching for gems @ rubygems.org for something related to a task you want to complete, start using it, then clone its code into a local directory and dig around to see how it works. Being intimately familiar with RVM or the environment manager of your choice will also help a great deal in knowing where and how the path is configured, where gemfiles are located, and how to deal with multi-user environments on servers if need be.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • dotenv

    A Ruby gem to load environment variables from `.env`. (by bkeepers)

  • Decompose configuration settings into something like .env in your development environment versus hard coding things inline, e.g. server urls, ip addresses. This way when you go to production they can be read from the environment which your orchestration, e.g. docker, puppet, ansible, will bootstrap.

  • TTY

    Toolkit for developing sleek command line apps.

  • If you're interested in taking things further, maybe have a look at Build Awesome Command-Line Applications in Ruby 2. If you're not ready to buy a book, check out the Ruby TTY Toolkit page.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts