rob-murray / ferver

A Ruby gem to serve files over HTTP, packaged as a Ruby gem
MIT License
14 stars 3 forks source link

Pass directory to serve from in config item #4

Closed rob-murray closed 10 years ago

rob-murray commented 10 years ago

Allow external configuration of the ferver directory so that no manual hacking of the code is required. Pseudo example below


ruby run_my_ferver -d /path/to/dir

Fall back to DEFAULT if none passed.