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:
Ulysse Buonomo
2023-06-23 12:30:34 -05:00
committed by GitHub
parent 24e09b04c1
commit 61981e0973

View File

@@ -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`