Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] How to configure jruby-complete.jar as interpreter runtime

Hi Andrei,

thanks for the fast response. It works as described, thanks!!!

Another question: now that I have the JRuby interpreter set up, is there any way to use the fast ruby debugger (ruby-debug)?

I noticed that using the Ruby Built-In debugger works, but it is
 (a) painfully slow and
 (b) for some reason my logging output is gone after part of the script has run

Regarding (b), I am using something like this:       
        @log = Logger.new($stdout)
        @log.level = Logger::DEBUG
        @log.datetime_format = "%H:%M:%S"   
        @log.info 'blabalal'
The first few @log.info|debug 'something' statements still print output, but then at some point it is gone...

Do you have a suggestion for this?

Thanks a lot and best regards,
Torben


On Wed, Mar 11, 2009 at 4:34 AM, Andrei Sobolev <andrei.sobolev@xxxxxxxxx> wrote:
Hi Torben,

DLTK has no support for using of jruby-complete at the moment.
But you could use it using bat file. Please create a bat file (jruby.bat) with following content:
java -jar jruby-complete-1.1.6.jar %*

And then add this file as new Ruby interepreter.
Also I have posted a bug to our issue tracked to improve this situation: https://bugs.eclipse.org/bugs/show_bug.cgi?id=268018

Best regards,
Andrei Sobolev.

Hi all,

I am using DLTK-Ruby v0.95.

Is there a possibility to configure the jruby-complete-1.1.6.jar as an interpreter runtime?
In the configuration dialog I am supposed to enter a runtime executable, but I have no jruby.exe, as I only have the jruby-complete.jar file.
When I tried to enter "java.exe" as the executable (wanting to -cp the jruby-complete.jar) it says "no Interpreter executables found".

Is that possible at all?

Thank you and best regards,
Torben

_______________________________________________ dltk-dev mailing list dltk-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dltk-dev


_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev



Back to the top