Experience of RadRails on Ubuntu?

hi,

I am trying to get RadRails 0.7.2 running on Ubuntu Edgy (6.10) (AMD64
architecture)

I am unable to execute the ‘RadRails’ executable in my /radrails dir.

I keep getting:

bash: ./RadRails: No such file or directory

The permissions are fine and I have loaded the latest Java RE as
perscribed in the Ubuntu documentation.

V strange as it runs fine on my laptop (Ubuntu Dapper (6.06))

Any ideas? Driving me nuts!

Alt, can anyone suggest another IDE or guidelines on how to install
Eclipse and the RadRails as a plugin.

Thanks.

On 2/20/07, Lee [email protected] wrote:

bash: ./RadRails: No such file or directory

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.

Thanks.

By the way, there is a radrails discussion list.


Dean W.
http://www.objectmentor.com
http://www.aspectprogramming.com
http://www.contract4j.org

I am running RadRails nightly on Ubuntu Edgy. Here are the steps:

  1. Install eclipse. I usually get the tarball from eclipse.org and
    expand it
    on my disk.

  2. 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.

Prabhakar C. said the following on 02/20/2007 12:01 PM:

I am running RadRails nightly on Ubuntu Edgy. Here are the steps:

  1. Install eclipse. I usually get the tarball from eclipse.org
    http://eclipse.org and expand it on my disk.

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.

  1. 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 :slight_smile:

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.

Prabhakar C. wrote:

I am running RadRails nightly on Ubuntu Edgy. Here are the steps:

  1. Install eclipse. I usually get the tarball from eclipse.org and expand it
    on my disk.

  2. 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.

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)?


Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!

You can create a project in eclipse with your source outside of the
dreaded
workspace :slight_smile:

On 2/20/07, Anton A. [email protected] wrote:

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 :slight_smile:

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.


“Minds are what brains do.”
– Marvin Minsky

Phlip wrote:

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.

b

Ben M. wrote:

Philip, I don’t think anyone ever answered you about importing a project
intoradrails… or rather, hooking an existing project up toradrails.

Here’s what I do:

Just a follow-up; thanks!

I remember Eclipse from back when everyone was crazy over it, and it
couldn’t even open a file.


Phlip

Dean W. said the following on 02/20/2007 08:23 PM:

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?

If you backtrack the thread and look at the bits that weren’t carried
forward (I tend to delete tails), I took the advice of just loading
eclipse.

The splash screen comes up - is that done by java?

Can you run other java apps? (There are sample apps with
most JDK distros.)

I’ll look into that.


“Rather than focus on things and _time-, focus on preserving and
enhancing
relationships and accomplishing results” - Steven Covey.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs