Created
November 9, 2013 10:16
-
-
Save danidiaz/7383997 to your computer and use it in GitHub Desktop.
Drop dead easy way to serve a directory through HTTP using Ruby.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rack' | |
| foo = Rack::Directory.new("C:/Users/ZZZZ/.m2") | |
| Rack::Server.start :app => foo, :Port => 9292 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment