Issue #16917 has been updated by mame (Yusuke Endoh).


I suspect that the directory has index.html. Do you run Ruby 2.5 in the same directory as 2.7?

----------------------------------------
Bug #16917: "ruby -run -e httpd . " did not work 
https://bugs.ruby-lang.org/issues/16917#change-85963

* Author: sevk (kk kk)
* Status: Feedback
* Priority: Normal
* ruby -v: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------

ruby -run -e httpd . -p 8080

no file list show 

only show HelloWorld .


---Files--------------------------------
2020-06-03_15-00.png (14.1 KB)
2020-06-03_15-04.png (9.36 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>