addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgoogleimageimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

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).

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

Why:
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.

Usage
> 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 ?.?


github: https://github.com/nodanaonlyzuul/white_castle
rubygems: https://rubygems.org/gems/white_castle








--
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]

Our Sponsors

  • Pivotal Labs

    Provides the awesome event space we use every month!

People in this
Meetup are also in:

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