Can you send the script, that causes this issue. I might look at it (haven't 
used the Ruby debugger for years now).

Detlev

On Sunday 25 November 2012, 23:36:48 Josep Ferrandiz wrote:

Hello,


I am using Eric4 4.4.18 (r4127) with Ruby 1.8.7.


If I run a single ruby file on the command line in the Terminal view,
        user@ubuntu:~/Code/ruby/RApps$ ./foo.rb
the file executes with no problem.


But if I run the same file through Eric's Run Script I get:


ruby 1.8.7 (2011-06-30) [i686-linux] on ubuntu, No Qt-Version
>>> /usr/share/eric/modules/DebugClients/Ruby/DebugClientBaseModule.rb:172:in 
`unhandled_exception': private method `sub' called for nil:NilClass 
(NoMethodError)
        from 
/usr/share/eric/modules/DebugClients/Ruby/DebugClientBaseModule.rb:343:in 
`handleLine'
        from /usr/share/eric/modules/DebugClients/Ruby/AsyncIO.rb:73:in 
`readReady'
        from 
/usr/share/eric/modules/DebugClients/Ruby/DebugClientBaseModule.rb:619:in 
`eventLoop'
        from 
/usr/share/eric/modules/DebugClients/Ruby/DebugClientBaseModule.rb:595:in 
`interact'
        from 
/usr/share/eric/modules/DebugClients/Ruby/DebugClientBaseModule.rb:1172:in 
`main'
        from /usr/share/eric/modules/DebugClients/Ruby/DebugClient.rb:44


in the interactive shell.


It also looks like the ruby debugger is not working. 


Any suggestions?
 
Josep M. Ferrandiz


-- 
Detlev Offenbach
[email protected]
_______________________________________________
Eric mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/eric

Reply via email to