ruby
Ruby programming language interpreter. See also:
gem,bundler,rake,irb,ri. More information: https://manned.org/ruby.
- Execute a Ruby script:
ruby
- Execute a single Ruby command in the command-line:
ruby -e ""
- Check for syntax errors on a given Ruby script:
ruby -c
- Start the built-in HTTP server on port 8080 in the current directory:
ruby -run -e httpd
- Locally execute a Ruby binary without installing the required library it depends on:
ruby -I -r
- Display version:
ruby
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
