SyntaxFix
Write A Post
Hire A Developer
Questions
You can run ruby commands in one line with the -e flag:
-e
ruby -e "puts 'hi'"
Check the man page for more information.