Skip to content

Instantly share code, notes, and snippets.

@maeharin maeharin/gist:4461321
Last active Dec 10, 2015

Embed
What would you like to do?
WEBrickを起動させるワンライナー
# 起動
$ ruby -r webrick -e 'WEBrick::HTTPServer.new(:DocumentRoot => "./", :Port => 8080).start'
# 停止
$ ps aux | grep ruby
$ kill -9 <pid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.