Install Guide
This guide will tell you how to install everything that is needed for using my
RPSG
gem.
For Mac/OSX
What you will install:
- Ruby
- RubyGems
- Homebrew
- RVM
- XCode Command Line Tools
- RPSG (my RubyGem)
Useful Skills:
To open the Terminal
- Press Command + Space
- Type in
Terminal
- Press Return
To Copy
- Press Command + C
To Paste
- Press Command + V
Step 1 - Installing XCode Command Line Tools
- Open
Terminal
and copy/paste this:sudo xcode-select --install
and hit Return - You might need to enter your password a few times
Step 2 - Installing Homebrew
- In the
Terminal
, copy/paste this:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
, and hit Return - You might need to enter your password
Step 3 - Installing RVM/Ruby/RubyGems
- In the
Terminal
, copy/paste this:\curl -sSL https://get.rvm.io | bash -s stable --ruby
and hit Return - You might need to enter your password
Step 4 - Installing RPSG
- Close
Terminal
by pressing Command + Q - Open
Terminal
again - Type in the following:
gem install rpsg
, then hit Return
Step 5 - Running RPSG
- Whenever you want to play Rock Paper Scissors, just open
Terminal
and type in:rpsg
, then hit Return
For Windows
What you will install:
- Ruby
- RubyGems
- RPSG (my RubyGem)
Useful Skills
Opening the Command Prompt
- Press Windows + R
- Type in
cmd
- Press Enter
To Copy
- Press Control + C
To Paste
- Press Control + V
Step 1 - Downloading Ruby Installer
- Open a Web Browser
- Web Browser ex: Chrome, Firefox, IE, Safari, Edge, Opera, etc…
- Copy/paste this into the browser’s URL bar
https://rubyinstaller.org/downloads/
- Press Enter
- Download the appropriate installer
Step 2 - Installing Ruby & RubyGems
- Open the
rubyinstaller.exe
(may be named differently for you) - Proceed with the installation
Step 3 - Installing RPSG
- Open the
Command Prompt
- Type in the following:
gem install rpsg
Step 4 - Running RPSG
- Any time you would like to play rock paper scissors, just open the
Command Prompt
and type in:rpsg
and hit enter