Published: 27 Jan 2018 › Updated: 27 Jan 2018
One liner server command in ruby
Open your terminal, go to your desired directory where you want to run the server and enter the following:
ruby -run -e httpd . -p 5000
It will start a webserver runnning on your machine at port 5000. No extra gem is needed for this to run.
Leave One liner server command in ruby to:
Read more #ruby posts
Best Posts From aadeshere1
We have not curated any of aadeshere1's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From aadeshere1
- Creating QR Code in Ruby
- Baby, can you get me beer?
- Half plate Momo
- Chill it'll be fine, AGAIN
- Building a Static Site with Jekyll
- Install Jekyll on linux
- Looking for suggestions on Ruby topic
- Popular Jhol Momo from Nepal
- One liner server command in ruby
- [d-tube]How to install ubuntu
- Introduction to Ruby on Rails
- Install Ruby on Linux
- Dtube - Resume Design
- Tour to Gosaikunda