A console for any Ruby project

Wherein useful things are shared

I’ve been finding this little snippet extremely useful lately:

$ irb -Ilib -rmy_library

If your Ruby app or library follows the idiom of requiring all the files for your app in a file named after the library, this will load everything up. If you're being clever, you may need to invoke said cleverness before you can really get started poking around.

Anyone doing something similar?

By Adam Keys

Telling a joke. Typing.

1 reply on “A console for any Ruby project”

Comments are closed.