No Ruby console output under Linux [message #16066] |
Tue, 18 September 2007 23:40 |
Ian Dickinson 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 |
Andrei Sobolev 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
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03379 seconds