Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » No Ruby console output under Linux
No Ruby console output under Linux [message #16066] Tue, 18 September 2007 23:40 Go to next message
Ian Dickinson is currently offline Ian DickinsonFriend
Messages: 7
Registered: July 2009
Junior Member
Hi,
I'm just trying out the Ruby support in Eclipse 3.3. I've installed
plugins as follows:

Sep 6, 2007 10:30:03 AM
org.eclipse.dltk.core_0.9.0.v20070601-08O-E8McIJNJDYf feature-install
success
Sep 6, 2007 10:30:06 AM
org.eclipse.dltk.core_0.9.0.v20070601-08O-E8McIJNJDYf feature-enable
success
Sep 6, 2007 10:30:06 AM
org.eclipse.dltk.ruby_0.9.0.v20070609-07q-BcMAAqAkKF feature-install
success
Sep 6, 2007 10:30:07 AM
org.eclipse.dltk.ruby_0.9.0.v20070609-07q-BcMAAqAkKF feature-enable
success

I then created a Ruby script hello.rb containing

puts "Hello World"

I can run this in Ruby from a shell no problem, but if I run it from
inside Eclipse I just get an empty console view.

If I add -v to the 'Interpreter arguments' in Preferences, I get:

ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-linux]
-e:1: warning: useless use of a literal in void context

I'm on Fedora 7 with Eclipse running in JDK 1.6.02. I'd appreciate any
suggestions, especially if I'm doing something stupid!

Thanks,
Ian
Re: No Ruby console output under Linux [message #16083 is a reply to message #16066] Wed, 19 September 2007 06:10 Go to previous messageGo to next message
Andrei Sobolev is currently offline Andrei SobolevFriend
Messages: 72
Registered: July 2009
Member
Hi Ian,

This was bug in ruby launching.

Please update to latest 0.9.1 build from
http://download.eclipse.org/technology/dltk/downloads/drops/ R0.9/M-0.9.1-200708300328/.

Thanks,
Andrei.

> Hi,
> I'm just trying out the Ruby support in Eclipse 3.3. I've installed
> plugins as follows:
>
> Sep 6, 2007 10:30:03 AM
> org.eclipse.dltk.core_0.9.0.v20070601-08O-E8McIJNJDYf
> feature-install success
> Sep 6, 2007 10:30:06 AM
> org.eclipse.dltk.core_0.9.0.v20070601-08O-E8McIJNJDYf
> feature-enable success
> Sep 6, 2007 10:30:06 AM
> org.eclipse.dltk.ruby_0.9.0.v20070609-07q-BcMAAqAkKF
> feature-install success
> Sep 6, 2007 10:30:07 AM
> org.eclipse.dltk.ruby_0.9.0.v20070609-07q-BcMAAqAkKF
> feature-enable success
>
> I then created a Ruby script hello.rb containing
> puts "Hello World"
>
> I can run this in Ruby from a shell no problem, but if I run it from
> inside Eclipse I just get an empty console view.
>
> If I add -v to the 'Interpreter arguments' in Preferences, I get:
>
> ruby 1.8.6 (2007-06-07 patchlevel 36) [i386-linux]
> -e:1: warning: useless use of a literal in void context
>
> I'm on Fedora 7 with Eclipse running in JDK 1.6.02. I'd appreciate any
> suggestions, especially if I'm doing something stupid!
>
> Thanks,
> Ian
>
>
Re: No Ruby console output under Linux [message #16097 is a reply to message #16083] Wed, 19 September 2007 21:29 Go to previous message
Ian Dickinson is currently offline Ian DickinsonFriend
Messages: 7
Registered: July 2009
Junior Member
Hi Andrei,
Thanks for the tip, it's working now!

Regards,
Ian
Previous Topic:DLTK and IBM Safari
Next Topic:DLTK 1.0 project plan?
Goto Forum:
  


Current Time: Thu Apr 25 16:23:17 GMT 2024

Powered by FUDForum. Page generated in 0.03379 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top