add-memberalign-toparrow-leftarrow-rightbellblockcalendarcamerachatchevron-leftchevron-rightchevron-small-downchevron-upcircle-with-crosscomposecrossfacebookflagfolderglobegoogleimagesinstagramkeylocation-pinmedalmoremuplabelShape 3 + Rectangle 1pagepersonpluspollsImported LayersImported LayersImported LayersshieldstartwitterwinbackClosewinbackCompletewinbackDiscountyahoo

Re: [NYC-rb] [ANN] white_castle 0.1.1

From: Jms D.
Sent on: Monday, March 26, 2012 4:05 PM
HA. This name is brilliant.

On Mon, Mar 26, 2012 at 4:01 PM, Stephen Schor <[address removed]> wrote:
Carelessly serve anything (from your filesystem).

A command line tool to start Webrick, pointed to a given directory

I was working on a static HTML page for a project.
For a few reasons, I wanted to open it in my browser not as a file://
but served through http://. This is a very simple way to do that.

> white_castle -p 3001

This starts a webrick server on port 3001, otherwise it will us port 3000 (default)

>white_castle ~/Desktop/
Serve a diretory other than ?.?


Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Stephen Schor ([address removed]) from NYC.rb.
To learn more about Stephen Schor, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy