A console for any Ruby project

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?

Published by Adam Keys

Telling a joke. Typing.

One reply on “A console for any Ruby project”

Comments are closed.