[Rails] Re: ANNOUNCE: Hirb - A gem enhancing your script/console

2009-04-03 Thread cldwalker
Thanks Phillip. Danimal, if you're using Hirb just for Rails, you can add it in config/environment.rb and only have it load when using script/console: if $0 == 'irb' require 'hirb' Hirb::View.enable end Also, if you're using Wirble make sure to put Hirb::View.enable after loading Wirble. Gab

[Rails] Re: ANNOUNCE: Hirb - A gem enhancing your script/console

2009-03-31 Thread Philip Hallstrom
> This looks pretty cool! Quick question: is there a way to set this up > to be used automatically from script/console and/or irb? Should be able to just put the following into your ~/.irbrc require 'hirb' Hirb::View.enable > Thanks, > > -Danimal > > On Mar 27, 2:39 pm, cldwalker wrote: >> H

[Rails] Re: ANNOUNCE: Hirb - A gem enhancing your script/console

2009-03-31 Thread Danimal
Gabriel, This looks pretty cool! Quick question: is there a way to set this up to be used automatically from script/console and/or irb? Thanks, -Danimal On Mar 27, 2:39 pm, cldwalker wrote: > Hi, >   I'm announcingHirb, a mini view framework which enables script/ > console to provide custom v