Ruby for System Administrators

Ruby Administration Training

The Ruby for System Administrators training course covers all aspects of installing and configuring Ruby 2.x, Rails 4.x, and all dependency packages required for development, test, and production.  

The Ruby Administration Training also covers running older and multiple versions, installing help, maintaining gems, implementing version control, configuring database servers, upgrading, and last, but not least, deployment.

Course Summary

Purpose: 
Learn how to install, configure, and maintain Ruby and Rails for production systems.
Audience: 
System administrators (preferably UNIX) with command-line scripting expertise needing to maintain enterprise applications written in Ruby.
Skill Level: 
Learning Style: 

Hands-on training is customized, instructor-led training with an in-depth presentation of a technology and its concepts, featuring such topics as Java, OOAD, and Open Source.

Hands On help
Duration: 
3 Days
Productivity Objectives: 
  • Identify the required dependencies to install Ruby
  • Install and configure Ruby
  • Install and configure Rails
  • Connecting Ruby to a datasource
  • Working with Gems
Ruby for System Administrators is part of the Ruby Training curriculum.

What You'll Learn

In the Ruby for System Administrators training course you’ll learn: *Introduction

  • Version history of Ruby and platform variances
  • Version history of Rails
  • The Rails platform and ecosystem
*Installing Ruby
  • Locating and installing Ruby binaries on Windows, Mac, and Linux for Development environment
  • Installing Ruby by compiling from source
    • Why and when to do it
    • Identifying pre-requisites and resolving version differences
    • Working with package management tools
    • Installing dependency packages
  • Locating core and standard libraries, and requiring modules
  • Installing using RVM (Ruby Version Manger)
    • Running multiple versions of Ruby
    • Resolving RVM requirements
      • Updating the RVM system: HEAD vs. STABLE
      • Using Homebrew, exploring Cellar structure, and creating formulas for Mac installs
      • Using apt-get, dkpg, portage, rpm, rug, synaptic, up2date, or yum
      • Best practices for local against system-wide installation
    • Resolving openssl and clang / gcc compile errors
  • Introduction to Ruby command-line tools
  • Criteria for and testing successful Ruby installation
  • Installing Ruby’s help system 
    • Installing RI documentation
    • Installing RDoc or YARD
      • Building local ruby documentation per development installation
      • Building a local or shared documentation server
    • Building HTML or ri documentation from custom Ruby code
  • Introduction to Ruby Gems
    • Installing and removing Ruby gems
      • Resolving or skipping errors (commonly rdoc)
    • The Gem specification
    • Maintaining local gems
    • Creating .gemspec files and exploring attributes
  • Ruby Introspection for System Administrators
    • Introduction to IRB (Interactive Ruby Shell)
    • Common Ruby commands
      • Requiring v. loading modules
      • Asking Ruby about its environment
  • Installing database servers
    • Installing database servers for development, test, and production
      • Why SQLite matters for agile Rails development
      • Planning the switch from SQLite to production database servers
    • Locating database drivers for Ruby and installing them using custom switches
      • Drivers for MySQL, PostgreSQL, SQL Server, Oracle, DB2, and FireBird
    • Different install strategies for user $HOME, usr/local, usr/bin, and .rvm
  • Installing Rails
    • Installing Rails as a gem
    • Criteria for and testing a successful Rails installation
    • Creating a new application
    • Understanding Rails top-level directory structure
    • Building local Rails documentation per development installation
    • Building a local or shared documentation server
    • Starting the Rails HTTP server 
      • WEBrick vs. Apache (or other installed server)
      • Setting the port and other parameters
      • Logging and monitoring server activity
      • Locating and killing the Rails HTTP process
    • Upgrading Rails
  • Git
    • Why GIT matters for Ruby and/or Rails development
      • Git’s easy branching and merging encourages experimentation
      • GitHub is social networking for coders and hosts both Ruby and Rails repositories
      • Using Git with Rails works well with Subversion repositories
    • Installing Git from binaries
    • Creating a Git repository in Rails directory structure
    • Configuring Git for Rails development
      • Controversies on what to include in .gitignore
      • Hooks for pre-commit and post-checkout
    • Analyzing Git’s logging mechanism
    • Altering commits
      • Best practices reset, cherry-pick, and revert
      • Rebasing commits
    • Cloning remote repositories
  • Rails Convention vs. Configuration
    • Effect of different versions when creating Rails apps
    • The Gemfile
    • Tracking dependencies with Bundler
    • Automating tasks using Rake
    • Creating, running, and rolling back migrations
    • Setting database parameters
    • Setting environments for development, test, and production
    • Working with routing
    • Using the Rails console to examine running development, test, or production applications
    • Installing Rails plugins
    • Upgrading a Rails app
  • Deploying Rails
    • Switching from SQLite3 and WEBrick to Apache, MySQL, and Passenger
    • Using Git, Bundler, and Capistrano for remote deployment
    • Troubleshooting common deployment problems
    • Managing log files: planning rollover, archival, and even deletion

Meet Your Instructor

Peter picture
Peter

Peter started programming before he learned how to use a keyboard properly, after messing around with a Commodore 64, BASIC, and a few cassette tapes.

Starting in the late 1990’s Peter became a passionate contributor to the open source community. As an active participant he has submitted bug fixes and new features to several projects and has released many of his own software packages as open source.

In 2006 Peter left upper management and became a freelance software...

Meet Peter »

Contact us to learn more

Not all training courses are created equal. Let the customization process begin! We'll work with you to design a custom Ruby for System Administrators training course that meets your specific needs.

DevelopIntelligence has been in the technical/software development learning and training industry for nearly 20 years. We’ve provided learning solutions to more than 48,000 engineers, across 220 organizations worldwide.

About Develop Intelligence
Di Clients

surveyask

Need help finding the right learning solution?   Call us: 877-629-5631