Ghost gem

I typically develop sites on my local machine using custom vhosts in Apache and adding lines to my /etc/hosts file to point custom urls to 127.0.0.1. After some time that file grew to be large and sometimes tedious to update. Enter ghost gem. Simple hostname management.

1 Waffles:~ clint$ ghost modify pup.local 127.0.0.1  
2   [Modifying] pup.local -> 127.0.0.1

Adds a new entry (somewhere, not /etc/hosts though) and you can now use puppy.local as a url to point to your machine with a vhost setup to respond to that scheme.

You can use this for just about any url or IP you want too:

1 Waffles:~ clint$ ghost add puppy google.com  
2   [Adding] puppy -> 74.125.65.105

ghost list shows what you have already:

1 Waffles:~ clint$ ghost list  
2   Listing 2 host(s):  
3     pup.local -> 127.0.0.1  
4     puppy -> 74.125.65.105

Full details and commands are listed on bjeanes github repo.

@ctshryock

About

My name is Clint Shryock. I develop things in Go and Ruby. I live in central Missouri, where the weather is beautiful 4 months of the year.
+-----------------+
|                       |
|      (ノ^_^)ノ      |
|                       |
|   ☜(゚ヮ゚☜)    |
|                       |
|     ౿(ఠ_ఠఎ)    |
|                       |
|        ಠ_ಠ         |
x                      x
  xxx           xxx
       xx    xx
           xx