Installation Flashcards

1
Q

what is RVM and what does it stand for?

A

Ruby Version Manager

a command-line tool which allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is Homebrew?

A

A commonly used package manager on macOS.

Installing Ruby using Homebrew is easy:
$ brew install ruby

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is rbenv?

A

a Ruby Version Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what command allows you to use RubyGems?

A

gem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what command allows you to install RubyGems?

A

gem install [gem_name]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is the Gemfile?

A

a simple solution for organizing gems and their dependencies in a central location.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

how do you use pry gem for debugging?

A

add require “pry” and insert a binding.pry in your file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

when a new pry session is opened via binding.pry and you’re done debugging, what command continues executing the program?

A

Ctrl + D

How well did you know this?
1
Not at all
2
3
4
5
Perfectly