This is not currently possible. I've talked to Pedro about it, but it's something they'd have to change on their end. Maybe he can talk about it more. There's a few hacks that can be done from within the heroku gem, but there's nothing that will be very good/robust.
-Terence On Tue, 2009-12-22 at 00:17 -0800, Wojciech Kaczmarek wrote: > Hi! > > How can I get the value of last evaluated expression in heroku > console, just like with _ in plain irb or rails script/console? > > $ heroku console > >> 42 > => 42 > >> _ > NameError: undefined local variable or method `_' for #<Object: > 0x2b007e873350 @heroku_console_output=[]> > > -- > > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > >
signature.asc
Description: This is a digitally signed message part
