[MacRuby-devel] [MacRuby] #747: DietRB doesn't play nicely with wirble
MacRuby
ruby-noreply at macosforge.org
Fri Jul 2 05:03:33 PDT 2010
#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/>
More information about the MacRuby-devel
mailing list