If you have any trouble with anything, submit a GitHub issue, or jump in the support chat.

Troubleshooting

Can't Fetch or Submit

If you're having trouble fetching or submitting exercises, you may not have the most recent version of the command-line client.

To determine which version of the CLI you're using, run:

1
exercism -v

The most recent version of the CLI can be found on GitHub.

Next verify that the CLI is configured. Run exercism configure. It should look something like this

1
2
3
4
5
6
7
8
9
$ exercism configure

Configuration written to /home/you/.exercism.json

  --key=91a1cc34b03dbcc93d81603454087da526fcc6c5
  --dir=/home/you/exercism
  --host=http://exercism.io
  --api=http://x.exercism.io

The --key should look like the API key in your account.

If the API key is incorrect, then re-run the configure command:

1
exercism configure --key=YOUR_API_KEY

The --dir in the output of exercism configure is the directory where the exercises will be downloaded. To change it, use the following command (Be sure to enclose the directory path inside double quotes):

1
exercism configure --dir="DIRECTORY PATH"

This should be the absolute path to the root directory for all the exercism problems. On a Mac, this might look like this:

1
Exercises Directory: /Users/you/exercism

On windows, it might look like this:

1
Exercises Directory: C:\Users\you\exercism

"No DNS Server" Error

If you get an error that says "TCP Dial: No DNS Server", then you may have an invalid /etc/resolve.conf file.

If you're not sure what to put there, try this:

1
nameserver 127.0.0.1

Firewall

If you live behind a firewall, you can configure exercism to go through your proxy.

In linux and on mac, it will look like so:

1
2
3
set http_proxy=http://[user]:[pass]@[proxy host/port]
# or
export http_proxy=http://[user]:[pass]@[proxy host/port]

The following command will work inside PowerShell (tested on V3.0/Win7).

1
[Environment]::SetEnvironmentVariable("http_proxy","http://[user]:[pass]@[proxy]:[port]")

Want to add more help topics?

The code for this documentation is in the exercism.io repository on GitHub. Submit a pull request or open an issue with suggestions!

(Check out the ./x/docs/help.rb and ./app/views/site/help.erb files.)