Setting up Eclipse for Ruby

(francisrammeloo@hotmail.com) #1

Hi all,

I'm having some problems setting up Eclipse for Ruby. I installed the
Ruby plugin and created a Ruby project. I created a simple Hello world
test file and I see some nice syntax coloring. That's all good, but
when I go to Run->Run... and choose to create a new Ruby Application a
dialog pops up saying:

"An error has occured. See error log for more details."

I can't find anything similar on the internet. And I don't even know
where to look for the "error log" LOL.

Can anybody help?

Greetings,
Francis

(Adrian Petru Dimulescu) #2

Hi, the 0.5 plugin didn't work for me either, on Eclipse 3.1, but the
nightly build did.

Here is the update site for the latter:

http://rubyeclipse.sourceforge.net/nightlyBuild/updateSite/

HTH,
Adrian.

francisrammeloo@hotmail.com wrote:

···

Hi all,

I'm having some problems setting up Eclipse for Ruby. I installed the
Ruby plugin and created a Ruby project. I created a simple Hello world
test file and I see some nice syntax coloring. That's all good, but
when I go to Run->Run... and choose to create a new Ruby Application a
dialog pops up saying:

"An error has occured. See error log for more details."

I can't find anything similar on the internet. And I don't even know
where to look for the "error log" LOL.

Can anybody help?

Greetings,
Francis

(Berger, Daniel) #3

francisrammeloo@hotmail.com wrote:

Hi all,

I'm having some problems setting up Eclipse for Ruby. I installed the
Ruby plugin and created a Ruby project. I created a simple Hello world
test file and I see some nice syntax coloring. That's all good, but
when I go to Run->Run... and choose to create a new Ruby Application a
dialog pops up saying:

"An error has occured. See error log for more details."

I can't find anything similar on the internet. And I don't even know
where to look for the "error log" LOL.

Can anybody help?

Did you setup an installed interpreter?

Window -> Preferences -> Ruby -> Installed Interpreter -> Add

Regards,

Dan

(francisrammeloo@hotmail.com) #4

Yes I did set it to C:\ruby\bin\ (and that is the correct location :wink:
)

(francisrammeloo@hotmail.com) #5

The link to the nightlyBuild doesn't seem to be working.

Should the 0.5 plugin work on Eclipse 3.0 ?

(Adrian Petru Dimulescu) #6

francisrammeloo@hotmail.com wrote:

The link to the nightlyBuild doesn't seem to be working.

Yes, sorry for not verifying. It worked 2 days ago, needless to say... I suppose it is because last night's built failed.

Should the 0.5 plugin work on Eclipse 3.0 ?

I suppose, though I'm not sure: RDT 0.5 was released in november 2004; at that time, the current release of eclipse was 3.0.

(Zach Dennis) #7

francisrammeloo@hotmail.com wrote:

Yes I did set it to C:\ruby\bin\ (and that is the correct location :wink:
)

I believe you need to point it to your ruby executable for version. That has changed since 0.5.0. I apologize for any inconvenience.

Zach

(Zach Dennis) #8

Adrian Petru Dimulescu wrote:

···

francisrammeloo@hotmail.com wrote:

The link to the nightlyBuild doesn't seem to be working.

Yes, sorry for not verifying. It worked 2 days ago, needless to say... I suppose it is because last night's built failed.

Should the 0.5 plugin work on Eclipse 3.0 ?

I suppose, though I'm not sure: RDT 0.5 was released in november 2004; at that time, the current release of eclipse was 3.0.

RDT 0.5.0 does not work with Eclipse 3.1/. Please use the nightly builds until a 0.6.0 release is made. We are getting very close to putting together the 0.6.0 release.

Zach

(francisrammeloo@hotmail.com) #9

I succeeded setting up RDT 0.5.0 with Eclipse 3.0 (not 3.1) and it
ROCKS!!!
It has everything I want which is mainly:
    - Ruby editing :slight_smile:
    - tabbed windows
    - GUI Debugging

I know of only two other IDE's that support this combination of
features: FreeRide and Arachno. FreeRide crashed very often on my
computer (each time I try to run) and Arachno is not free. Add to this
the fact that Eclipse has reached a state of maturity.

After trying out many tools I think I have finally found the best one.
Perhaps not everybode will find it as useful as I do (and will stick to
emacs or vi), but I'm (very) happy.

Thank you for RDT! (and it's author)

Best regards,
Francis

(Jonas Pfenniger) #10

Francis,

Isn't Eclipse horribly slow ? How much time does it take to launch it
for example ?

Also how do you compare it against the Mondrian IDE
(http://www.mondrian-ide.com/) ?

···

On 8/13/05, francisrammeloo@hotmail.com <francisrammeloo@hotmail.com> wrote:

I succeeded setting up RDT 0.5.0 with Eclipse 3.0 (not 3.1) and it
ROCKS!!!
It has everything I want which is mainly:
    - Ruby editing :slight_smile:
    - tabbed windows
    - GUI Debugging

I know of only two other IDE's that support this combination of
features: FreeRide and Arachno. FreeRide crashed very often on my
computer (each time I try to run) and Arachno is not free. Add to this
the fact that Eclipse has reached a state of maturity.

After trying out many tools I think I have finally found the best one.
Perhaps not everybode will find it as useful as I do (and will stick to
emacs or vi), but I'm (very) happy.

Thank you for RDT! (and it's author)

Best regards,
Francis

--
Cheers,
  zimba

http://zimba.oree.ch

(Benedikt Heinen) #11

Isn't Eclipse horribly slow ? How much time does it take to launch it
for example ?

Hmmm... Isn't this question similarly nonsensical as the one to find out whether it's possible to write an REPL in less than 70 lines just in order to know whether a language is good or not?

Yes, eclipse is slower than most native compiled apps, but where does the startup time come in? I don't really think it costs my company that much for me to wait another 10 seconds (if that much) to start eclipse; I think they are more interested in whether I can work productively with it, or whether it will cost me more time due to bad user interface design or other issues.

The startup cost only comes into the equation once or twice a day at most (if I use it on the laptop I carry between work and home), or maybe once a month (if it's on the desktop machine at home/work, i.e. about once per login cycle); if that much...

There are things in eclipse worth noting as "not very sophisticated", but I wouldn't waste time comparing startup times for IDEs as a measure of quality.

Benedikt

   ALLIANCE, n. In international politics, the union of two thieves who
     have their hands so deeply inserted in each other's pockets that
     they cannot separately plunder a third.
       (Ambrose Bierce, The Devil's Dictionary)

(francisrammeloo@hotmail.com) #12

Yes launching Eclipse is slow. But you have to do that only once
(usually) per programming session.

Editing and running is OK, it's not lightning-fast, but it's not slow
also, it's just OK.

Francis

(Xavier Noria) #13

Java 5.0 is quite fast compared to previous versions, and my swap monitor says it uses less memory as well.

-- fxn

···

On Aug 16, 2005, at 10:41, francisrammeloo@hotmail.com wrote:

Yes launching Eclipse is slow. But you have to do that only once
(usually) per programming session.

Editing and running is OK, it's not lightning-fast, but it's not slow
also, it's just OK.

From my experience using Eclipse in Mac OS X, Eclipse 3.1 running on

(Jonas Pfenniger) #14

Benedikt,

Hmmm... Isn't this question similarly nonsensical as the one to find out
whether it's possible to write an REPL in less than 70 lines just in order
to know whether a language is good or not?

I don't think so. As a language can be more or less adapted to a kind
of problem, an IDE can be more or less adapted to a kind of work. If I
want to make a quick hack in ruby, a long-starting IDE will be a
barrier, because I don't want it to get in my way.

Last time I checked RDT was with Eclipse 1.0 and I found myself often
waiting it to finish some tasks. Waiting is not a problem for everyone,
but I feel like it's a break in my mind.

Do you get my point ?

Cheers,
.... zimba