Skip to content

Instantly share code, notes, and snippets.

@3panda
Created February 11, 2015 01:19
Show Gist options
  • Select an option

  • Save 3panda/5d69466b01a9c9fa04d6 to your computer and use it in GitHub Desktop.

Select an option

Save 3panda/5d69466b01a9c9fa04d6 to your computer and use it in GitHub Desktop.
簡易ローカルホスト

#簡易ローカルホスト localhostを立てたいとき ##Ruby

$ ruby -rwebrick -e "WEBrick::HTTPServer.new({:DocumentRoot => './',:Port => 8000}).start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment