ruby: add http server example (#10410)

* ruby: add http server example

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
pull/23/head
Ulysse Buonomo 2023-06-23 12:30:34 -05:00 committed by GitHub
parent 24e09b04c1
commit 61981e0973
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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`