[Eric] Eric Debugger and Ruby-1.9

Nandhu MJS nandhu.mjs at gmail.com
Sun Apr 6 11:17:50 BST 2008


Hi Detlev

Forgot to mention in my previous mail.  The support requiring $KCODE
and jcode.rb in ruby 1.8 ( I was using ruby-1.8.6 ) is built into
ruby-1.9 and hence specific call/reference is no longer required.
Sorry about the oversight

Regards
Nandhu

On 06/04/2008, Detlev Offenbach <detlev at die-offenbachs.de> wrote:
> On Sonntag, 6. April 2008, Nandhu MJS wrote:
> > I use Eric-4-4.2-snapshot-20080319 for developing a ruby application.
> > On switch to ruby-1.9.0 eric gives the error message in Log-Viewer
> >   DebugClient.rb:10: warning: variable $KCODE is no longer effective;
> > ignored ...
> >   DebugClient.rb:11in `require': no such file to load -- jcode(LoadError)
> > ... "
>
> These two lines were used to activate support for non latin-1 source code
> (e.g. code in utf-8) in older Ruby versions. Because I am not a hardcore
> Ruby
> programmer and eric4 is used rarely for Ruby coding, this problem was not
> detected until now. What is the Ruby 1.9 replacement for this? A patch would
> be really appreciated. That patch should allow the debugger to be used with
> Ruby 1.8.x and 1.9.x (if possible).
>
> >
> > eric-4 ide starts and runs without any apparent problem but the
> > debugger does not work
> >
> > Commenting out the references to $KCODE and jcode or copying jcode.rb
> > from ruby-1.8.6 only makes the situation worse as control stays stuck
> > in the Log-Viewer and a message keeps rolling at a speed too fast to
> > read.  Escape is only by closing eric-4
> >
> > Any solution from anybody would be greatly appreciated
> > Thanks and regards
> > Nandhu
> > _______________________________________________
> > Eric mailing list
> > Eric at riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/eric
>
>
> Regards,
> Detlev
> --
> Detlev Offenbach
> detlev at die-offenbachs.de
>


More information about the Eric mailing list