Bug #16917
closed"ruby -run -e httpd . " did not work
Description
ruby -run -e httpd . -p 8080
no file list show
only show HelloWorld .
Files
Updated by mame (Yusuke Endoh) almost 5 years ago
- Status changed from Open to Feedback
It works for me. Could you show us the terminal log and the html result (if you can connect to the server)?
Updated by retro (Josef Šimánek) almost 5 years ago
works for me as well on fresh 2.7.1 installation (compiled locally)
Updated by sevk (kk kk) almost 5 years ago
- File 2020-06-03_15-00.png 2020-06-03_15-00.png added
mame (Yusuke Endoh) wrote in #note-1:
It works for me. Could you show us the terminal log and the html result (if you can connect to the server)?
only show hello world .
Updated by sevk (kk kk) almost 5 years ago
- File 2020-06-03_15-04.png 2020-06-03_15-04.png added
Ruby 2.5 is OK
Updated by mame (Yusuke Endoh) almost 5 years ago
I suspect that the directory has index.html. Do you run Ruby 2.5 in the same directory as 2.7?
Updated by k0kubun (Takashi Kokubun) almost 5 years ago
2020-06-03_15-04.png is running it with port 8081, and 2020-06-03_15-00.png is running it with port 8080. Just to be clear, ruby -run -e httpd . -p 8081
with Ruby 2.7 also reproduces the same problem, right?
Updated by sevk (kk kk) almost 5 years ago
Ruby 2.7 : the directory has index.html
Ruby 2.5 : the directory has no index.html .
how to close this issues
Updated by nobu (Nobuyoshi Nakada) almost 5 years ago
- Status changed from Feedback to Third Party's Issue