ruby command-line tools

When you use Ruby you will encounter an entire ecosystem of tools, most of which are run from the command line. This section gives a brief overview of the most important of these tools.

Ref: WGR Chapter 1. Bootstrapping your Ruby literacy

ruby

irb

uncluttering irb's cluttered prompt

irb --simple-prompt

or

alias irb="irb --simple-prompt"

or

echo "IRB.conf[:PROMPT_MODE] = :SIMPLE" >> ~/.irbrc

ri and rdoc

web docs

cheat

rake

gem

gem plugins

bundler

rvm

Bundler vs. RVM

RSpec

dotfiles

git

Git is a Distributed Version Control System. It's very popular these days, especially among Ruby developers.

Git allows offline, asynchronous, decentralized development.

GitHub is a web service built on git that also adds issue tracking, automated pull requests and merging, etc.

git workflow

git workflow

git cheatsheet

See also nerdgirl's visual git cheatsheet at https://github.com/nerdgirl/git-cheatsheet-visual

Git Configuration

Git needs to know who you are, so try this:

git config --global --list

and if it doesn't have your name, do this:

git config --global user.name "Your Name"
git config --global user.email mail@example.com

Next Lesson 

Outline

[menu]

/