Prerequisites
Do you have experience working with GitHub and Ruby? The following instructions assume that you:
- Have an up-to-date Ruby environment configured on your computer.
- Have a GitHub account.
- Have Github installed on your computer.
- Are comfortable working with remote GitHub repositories.
Installing Ruby Racko Using GitHub
To install Ruby Racko using GitHub:
- Fork the repository.
- Create a clone of this forked repo on your local machine.
After cloning the repo, you can run Ruby Racko by navigating to the repo's master branch and entering ruby playRacko.rb
into the terminal.
Detailed Installation Instructions
1. Fork the Repository
Log in to GitHub and navigate to the Ruby Racko repository.
Click on the "fork" button near the top right corner of the page.
You should now see a version of Ruby Racko in your personal list of repositories.
2. Create a Local Clone of the Fork
Navigate to your forked version of Ruby Racko on GitHub.
Click the "Clone or Download" button near the top of the page.
Copy the HTTPS url.
Open up the terminal on your computer and cd
into the folder where you want Ruby Racko to live.
Clone the repository by entering git clone COPIED_URL
into the terminal. Where you see "COPIED_URL", you should paste the url that you copied from GitHub.
This command creates a new folder named racko
that houses your new git repo.
You're done!
Playing Ruby Racko
Enter the folder that holds your new Ruby Racko repo by typing cd racko
into the terminal.
Enter ls
. You should see, among other files, a Ruby file named "playRacko.rb".
Assuming you have Ruby installed on your machine, you can run Ruby Racko by using ruby playRacko.rb
at this location.
Have fun!