1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 06:42:10 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,10 @@
`ruby -c {{script.rb}}` `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: - Show the version of Ruby you are using:
`ruby -v` `ruby -v`