The permissions are fine and I have loaded the latest Java RE as
perscribed in the Ubuntu documentation.
So you “cd’ed” to /radrails, then executed “./RadRails”?
I haven’t had any problems. Sometimes that message (or one like it) is
thrown by a shell script with a nonexistent “#!/bin/foo” command.
RadRails is a binary, but maybe it’s the same sort of issue; it can’t
find something.
I assume java and javac are on your path.
V strange as it runs fine on my laptop (Ubuntu Dapper (6.06))
You might try comparing the output of “env” (long) on both machines. I
have JAVA_HOME defined, for example, although I don’t know if it’s
necessary. (I define it so I can work with multiple versions…)
Any ideas? Driving me nuts!
Alt, can anyone suggest another IDE or guidelines on how to install
Eclipse and the RadRails as a plugin.
I believe the radrails site has instructions for installing as a
plugin in another eclipse instance, which is actually what I usually
do.
Hmm.
Its Java so details of which Linux shouldn’t matter, should they?
It says “Most of the Eclipse SDK is “pure” Java code and has no direct
dependence on the underlying operating system. The chief dependence is
therefore on the Java Platform itself.”
It asks for java 2 1.4
I’ve got 1.4.2
So I untar it and start it.
I get a nice splash screen and then, to quote the immortal lines form
the
original text-mode Adventure game
Nothing Happens
Well, not nothing. Top and gTop tells me that Java is eating 100% of
the
CPU, so it must be doing something. Waiting, clicking on the icon,
all do
nothing.
Start up eclipse. Install Radrails using the update site from inside
of eclipse. Check the Radrails website for instructions.
That’s all you need to do.
All?
Should I wave a dead chicken over it? Will a frozen one do?
–
The universe does not have laws – it has habits, and habits can be
broken.
With Eclipse and Java, sometimes I too feel like waving all kinds of
things
at it
I am running edgy and thats all i had to do. What platform are you
trying
this on - Ubuntu? Any linux should work fine, but I have only ever
successfully run it on Ubuntu, Debian and Gentoo.
So I untar it and start it.
I get a nice splash screen and then, to quote the immortal lines form the
original text-mode Adventure game
Nothing Happens
Well, not nothing. Top and gTop tells me that Java is eating 100% of the
CPU, so it must be doing something. Waiting, clicking on the icon, all do
nothing.
…
You’ll probably have to go to eclipse.org and its forums for debugging
tips. Do you have this problem with an eclipse distribution without
radrails? Can you run other java apps? (There are sample apps with
most JDK distros.)
Prabhakar C. said the following on 02/20/2007 06:12 PM:
With Eclipse and Java, sometimes I too feel like waving all kinds of
things at it
I am running edgy and thats all i had to do. What platform are you
trying this on - Ubuntu? Any linux should work fine, but I have only
ever successfully run it on Ubuntu, Debian and Gentoo.
It happens that this is Mandrake - sorry, Mandriva
But as you say, any Linux should work.
Java is, after all, supposed to be portable.
Mandr… is Red-hat derived.
Maybe I’ll migrate to Ubuntu if I can ever get kdar to work.
My source tree is over here? Will RR force me to put it into the
infamous Eclipse Workspace folder? Or can I reach out to it (like a
normal editor)?
Philip, I don’t think anyone ever answered you about importing a project
into radrails… or rather, hooking an existing project up to radrails.
Here’s what I do:
From the file/new menu (or the “new” toolbar icon, or the “new” menu in
the context menu when clicking in the “rails navigator”) choose “New
Rails Project”.
In the dialog that opens, type in the name of your project (this doesn’t
have to be the same name as the rails app’s folder).
Uncheck the “Use default location” checkbox and type the path to the
existing rails app in the Location text field.
You’ll probably want to uncheck the “Generate Rails application
skeleton” checkbox. If you don’t, radrails should prompt you for whether
to overwrite files in the console view (which behaves kind of wonky). If
you’re hooking up an existing app, it really doesn’t make sense to let
it try to generate all the files/folders again.
You can also check/uncheck the Create WEBrick/Mongrel server checkboxes;
these create launch configurations in the Servers view, which can be
pretty handy… puts the server stdout/err into a console view for you
(though you’ll still want to tail the development.log… which radrails
can also do in a console view).
Hope that helps… radrails has some warts, but it’s pretty damn sweet
considering it’s free. It’s especially nice if you’ve already been using
eclipse for java development for years.