Skip to content

A front-end for the ruby interactive shell in a single ruby script.

License

Notifications You must be signed in to change notification settings

sammi-turner/Roll-Your-Own-Ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation


Roll-Your-Own-Ruby

A front-end for the ruby interactive shell in a single ruby script.


Ryor shell running


Requirements

  1. Ruby
  2. Ruby2d
  3. stringio

Three ways to run the script


1. with the ruby command

ruby ryor.rb

2. by giving permissions

give execution permissions with

chmod +x main.rb

then run the script directly with

./ryor.rb

3. by adding to the PATH variable

rename the file to remove the .rb extension (optional but conventional for executables)

mv ryor.rb ryor

Move the script to a directory in your PATH, such as /usr/local/bin (you may need sudo for this)

sudo mv main /usr/local/bin/

Then you can run the script from any directory with the command

ryor

About

A front-end for the ruby interactive shell in a single ruby script.

Topics

Resources

License

Stars

Watchers

Forks

Languages