[MacRuby] #747: DietRB doesn't play nicely with wirble
#747: DietRB doesn't play nicely with wirble ---------------------------+------------------------------------------------ Reporter: mww@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ---------------------------+------------------------------------------------ [carbon: (master) .dotfiles]$ macirb /Volumes/Home/Users/mwright/.dotfiles/lib/wirble/lib/wirble.rb:50:in `init_prompt': undefined method `conf' for IRB:Class (NoMethodError) from /Volumes/Home/Users/mwright/.dotfiles/lib/wirble/lib/wirble.rb:523:in `init' from /Volumes/Home/Users/mwright/.dotfiles/.irbrc:4:in `<main>' from /usr/bin/macirb:3:in `<main>' [carbon: (master) .dotfiles 1]$ My .irbrc attempts to load wirble from my local .dotfiles directory. It trips over inconsistencies in DietRB vs. IRB from ruby. -- Ticket URL: <http://www.macruby.org/trac/ticket/747> MacRuby <http://macruby.org/>
#747: DietRB doesn't play nicely with wirble ---------------------------+------------------------------------------------ Reporter: mww@… | Owner: eloy.de.enige@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ---------------------------+------------------------------------------------ Changes (by lsansonetti@…): * owner: lsansonetti@… => eloy.de.enige@… -- Ticket URL: <http://www.macruby.org/trac/ticket/747#comment:2> MacRuby <http://macruby.org/>
#747: DietRB doesn't play nicely with wirble ---------------------------+------------------------------------------------ Reporter: mww@… | Owner: eloy.de.enige@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: wontfix Keywords: | ---------------------------+------------------------------------------------ Changes (by eloy.de.enige@…): * status: new => closed * resolution: => wontfix Comment: The current version of DietRB that’s in MacRuby trunk actually does have a deprecation module for IRB.conf, so this specific exception shouldn't occur. Having said that, there are other parts of Wirble that won't work as is, but these (afaik) only involve colorizing the output. Which is something you don't need for DietRB, as it already comes with a colorization module (irb/ext/colorize), based on Wirble’s color scheme. In order to easily decide on which irb version you are, I am adding the IRB.version method. Once pushed, you could do something like this: {{{ if IRB.version.include?('DietRB') require 'irb/ext/colorize' else require 'wirble' Wirble.init Wirble.colorize end }}} If you are using other specific parts of Wirble that don't work, please create a new ticket. -- Ticket URL: <http://www.macruby.org/trac/ticket/747#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby