Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

Ruby and Rails for System Administrators

( Duration: 3 Days )

The Ruby and Rails for System Administrators training course covers all aspects of installing and configuring Ruby, Rails, and all dependency packages required for development, test, and production. This course also covers running older and multiple versions, installing help, maintaining gems, implementing version control, configuring database servers, upgrading, and last, but not least, deployment.

By attending Ruby and Rails for System Administrators workshop, delegates will learn to:

  • Identify the required dependencies to install Ruby
  • Install and configure Ruby
  • Install and configure Rails
  • Connecting Ruby to a data source
  • Working with Gems

System administrators (preferably UNIX) with command-line scripting expertise needing to maintain enterprise applications written in Ruby.

COURSE AGENDA

1

Version history of Ruby and platform variances

2

Version history of Rails

3

The Rails platform and ecosystem

4

Installing Ruby

5

Locating and installing Ruby binaries on Windows, Mac, and Linux for Development environment

6

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
7

Locating core and standard libraries, and requiring modules

8

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
9

Introduction to Ruby command-line tools

10

Criteria for and testing successful Ruby installation

11

Installing Ruby’s help system

  • Installing RI documentation
  • Installing RDoc or YARD
    • Building local ruby documentation per development installation
  • Building HTML or ri documentation from custom Ruby code
12

Introduction to Ruby Gems

  • Installing and removing Ruby gems
    • Resolving or skipping errors (commonly rdoc)
  • Resolving or skipping errors (commonly rdoc)
  • Maintaining local gems
  • Creating .gemspec files and exploring attributes
13

Creating .gemspec files and exploring attributes

  • Introduction to IRB (Interactive Ruby Shell)
  • Common Ruby commands
    • Requiring v. loading modules
14

Requiring v. loading module

  • Installing database servers for development, test, and production
    • Installing database servers for development, test, and production
    • 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
15

Installing Rails

  • Installing Rails as a gem
  • Criteria for and testing a successful Rails installat
  • Creating a new application
  • Understanding Rails top-level directory structure
  • Building local Rails documentation per development installation
  • Building a local or shared documentation server
    • WEBrick vs. Apache (or other installed server)
    • Locating and killing the Rails HTTP process
  • Upgrading Rails
16

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
    • 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
17

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
  • Using the Rails console to examine running development, test, or production applications
  • Installing Rails plugins
  • Upgrading a Rails app
18

Deploying Rails

  • Switching from SQLite3 and WEBrick to Apache, MySQL, and Passenger
  • Using Git, Bundler, and Capistrano for remote deployment
  • Managing log files: planning rollover, archival, and even deletion

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X