summaryrefslogtreecommitdiffstats
path: root/HACKING.markdown
blob: 47e6ae1f1f027401d3d0c536e7c4c8ba8a3dab56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Hacking HCl

## Rubygems

They're useful so we use them to install our gems. However there's no need to
explicitly include rubygems in the app. That's up the system to decide. Don't
require rubygems in the code.

We require rubygems in the test as a developer convenience.

## Running HCl in place

This is common and supported:

  ruby -rubygems -Ilib bin/hcl

Don't add dir(__FILE__)/lib to the load path in the binary. Bad manners.

## That's it

That's it. I mostly wrote this to explain why I rolled back certain changes.