ruby: add http server example (#10410)
* ruby: add http server example --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
@@ -19,6 +19,10 @@
|
||||
|
||||
`ruby -c {{script.rb}}`
|
||||
|
||||
- Start the built-in HTTP server on port 8080 in the current directory:
|
||||
|
||||
`ruby -run -e httpd`
|
||||
|
||||
- Show the version of Ruby you are using:
|
||||
|
||||
`ruby -v`
|
||||
|
Reference in New Issue
Block a user