Re:Ruby One-Liners
by vinceguidry on Saturday September 14, 2019 @07:58AM
(#20970245)
Rails has generators for that. Invaluable for greenfielding projects in an iterative manner. Blow everything away and recreate with a single command.
That said, if rails has a super simple default startup that could serve a file, then it might be useful to start that as a one liner in select circumstances.