contributions by Kris Sparks and Brian Sayler
Open your terminal and enter: brew install exercism
If you don't have an exercism.io account, create one on exercism.io. It's easiest to log in with GitHub.
Log into the exercism.io -> click your profile in the top right -> click on API key -> copy and paste the code into your terminal.
Once you have the API key set up ->
Run exercism fetch ruby
from the command line, and it will save down the first exercise to an ~/exercism
directory.
You will see a file ~/exercism/hello-world/README.md
and ~/exercism/hello-world/GETTING_STARTING.md
The first task is to write a file called hello_world.rb
and get all the tests to pass in hello_world_test.rb
After each test passes, remove the 'skip' from the next test until all the tests are passing.
Once you get the test passing (don't forget to check for 'skips') you can push a submission of the exercise to the exercism.io website with the command exercism submit hello_world.rb
Only submit the file you wrote, not the test file. You can submit muliple files.
Then run exercism fetch
to grab the next exercise.
If you want to pull down a specific exercise ->
You can view this list of exercises.
Run exercism fetch ruby <exercise-name>
Here is a full list of languages
Please sumbit comments for improvements or changes to this gist.