[macruby] #59: .irb_history support
#59: .irb_history support ------------------------+--------------------------------------------------- Reporter: z@wzph.com | Owner: lsansonetti@apple.com Type: task | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: ------------------------+--------------------------------------------------- Add .irb_history support to macirb Initial discussion: http://lists.macosforge.org/pipermail/macruby- devel/2008-May/000206.html -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/59> macruby <http://ruby.macosforge.org/>
#59: .irb_history support ------------------------+--------------------------------------------------- Reporter: z@wzph.com | Owner: lsansonetti@apple.com Type: task | Status: new Priority: minor | Milestone: MacRuby 0.2 Component: MacRuby | Resolution: Keywords: | ------------------------+--------------------------------------------------- Changes (by lsansonetti@apple.com): * milestone: => MacRuby 0.2 Comment: {{{ $ cat ~/.irbrc IRB.conf[:SAVE_HISTORY] = true $ macirb /Library/Frameworks/MacRuby.framework/Versions/0.2/usr/lib/ruby/1.9.0/irb/ext /save-history.rb:68:in `define_finalizer': define_finalizer() function is unimplemented on this machine (NotImplementedError) }}} Need to re-implement ObjectSpace.define_finalizer. -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/59#comment:1> macruby <http://ruby.macosforge.org/>
#59: .irb_history support ------------------------+--------------------------------------------------- Reporter: z@wzph.com | Owner: lsansonetti@apple.com Type: task | Status: closed Priority: minor | Milestone: MacRuby 0.2 Component: MacRuby | Resolution: fixed Keywords: | ------------------------+--------------------------------------------------- Changes (by lsansonetti@apple.com): * status: new => closed * resolution: => fixed Comment: Fixed in r217. Note that {{{IRB.conf[:SAVE_HISTORY]}}} must be set to a number (the max. number of expressions that will be kept in the history). For example, 200. Also, note that the very first expression is never saved, because of a bug in the readline extension (which uses libedit). This problem is also reproducible with the Ruby 1.8 version that ships with Leopard. -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/59#comment:2> macruby <http://ruby.macosforge.org/>
participants (1)
-
macruby