Tag: irb

  • Persisting IRB & Rails Console History

    Continuing the theme on customising IRB and Rails Console, add these lines to ~/.irbrc to persist the command history across console sessions:

  • Awesome Print your IRB & Rails Console

    Awesome Print is a Ruby gem that prints prettified objects to the console. To avoid having to prepend ap to all your console commands, set it as the default formatter in IRB and Rails by adding the following to your ~/.irbrc: Obviously, Awesome Print first needs to be installed: gem install awesome_print UPDATE: Awesome Print…