Are there any ruby IDEs?

Friedrich Dominicus wrote:

Stephan Kämper Stephan.Kaemper@Schleswig-Holstein.de writes:

There’s FreeRIDE ( http://rubyforge.org/projects/freeride/ )

You recommend FreeRIDE?

Would I? Good question indeed. I would prefer to use some Open Source
stuff, but would pay for a really great solution which supports the OSes
I use (which are Linuxoides and WinXP currently).
But actually I’m using TextPad most of the time for most of the things…

I would prefer ArachnoRuby, at least it did not crash on ever
occasion.

Now, if you prefer something anyway, I’d recommend to use what you
prefer, since you’ll likely use that anyway. :slight_smile:

Happy rubying

Stephan

Hi Ryan,

Arachno looks intriguing, and the web site says it will run on linux,
but I wasnt able to find a linux version available for download. Is there
a free trial download of the linux version? (assuming a linux version
really does exist…)

Just wait a couple of days until Lothar comes back from his vacation. In
the mean time try emailing him directly.

Sascha

gabriele renzi schrieb:

send a pr about it. It is stable on my winxp box

Win98/SE Just after the Start:

Cannot find import; DLL may be missing, corrupt, or wrong version
File “efox_microsoft.dll”, error 31

That’s it!

Eric.

What about (X)emacs ? It supports Ruby fairly well, and it
is cross platform. And you get automatic indenting and
highlighting. I couldn’t do without automatic indentation, and I
also like the fact that you can create your own commands.
I wonder why it isn’t mentioned, does nobody use emacs for
Ruby programming?

Kristof

···

On Thu, 13 May 2004 17:37:29 +0200, Stephan Kämper wrote:

Would I? Good question indeed. I would prefer to use some Open Source
stuff, but would pay for a really great solution which supports the OSes
I use (which are Linuxoides and WinXP currently).
But actually I’m using TextPad most of the time for most of the things…

I use Crimson Editor. http://www.crimsoneditor.com . I like it thus far!

Zach Dennis

···

-----Original Message-----
From: Stephan Kämper [mailto:Stephan.Kaemper@Schleswig-Holstein.de]
Sent: Thursday, May 13, 2004 11:39 AM
To: ruby-talk ML
Subject: Re: are there any ruby IDEs?

Friedrich Dominicus wrote:

Stephan Kämper Stephan.Kaemper@Schleswig-Holstein.de writes:

There’s FreeRIDE ( http://rubyforge.org/projects/freeride/ )

You recommend FreeRIDE?

Would I? Good question indeed. I would prefer to use some Open Source
stuff, but would pay for a really great solution which supports the OSes
I use (which are Linuxoides and WinXP currently).
But actually I’m using TextPad most of the time for most of the things…

I would prefer ArachnoRuby, at least it did not crash on ever
occasion.

Now, if you prefer something anyway, I’d recommend to use what you
prefer, since you’ll likely use that anyway. :slight_smile:

Happy rubying

Stephan


Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.676 / Virus Database: 438 - Release Date: 5/3/2004


Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.676 / Virus Database: 438 - Release Date: 5/3/2004

Hi Eric,

Win98/SE Just after the Start:

Cannot find import; DLL may be missing, corrupt, or wrong version
File “efox_microsoft.dll”, error 31

That’s it!

Keep in mind that it is a very early test version so this is expected.
It has crashed on me a couple of times too. But most of the times it
runs beautifully.

Win98 doesn’t seem like the best of all platforms for using Ruby anyway.
Give the author a break to come back from his holidays. Judging from the
mission statement on his website he will fix such issues.

Yours

···


Sascha Ebach Hexatex Holistic-Webdesign
Hugo-Junkers-Str. 26 50739 Köln
Web: http://www.hexatex.de mailto:se@hexatex.de
Tel: 0221 / 5994393 Fax: 0221 / 5994394

send a pr about it. It is stable on my winxp box

Win98/SE Just after the Start:

Cannot find import; DLL may be missing, corrupt, or wrong version
File “efox_microsoft.dll”, error 31
Eric.

Same situation here. I’m also running Win98SE and receive the same error
dialog. The DLL is present in the applications folder ‘C:\Util\Arachno
Ruby IDE’ however. I was going to play around and see if it was a
Win98 issue (try it on another machine) or an installer issue (perhaps
it incorrectly assumes a default directory) but them I got distracted
until this thread. I can wait til Lothar’s vacation is over to bother
him though. :slight_smile:

Kevin

What about (X)emacs ? It supports Ruby fairly well, and it
is cross platform. And you get automatic indenting and
highlighting. I couldn’t do without automatic indentation, and I
also like the fact that you can create your own commands.
I wonder why it isn’t mentioned, does nobody use emacs for
Ruby programming?

I use Emacs for Ruby programming… and programming in general, and for
all kinds of other stuffs. I really should try out the Ruby
Refactoring Browser, as it seems that it’s meant to be used through
emacs for now :slight_smile: I really wonder how good it is.

Ruben

“E.-R. Bruecklmeier” unet01@radio-eriwan.de wrote in message news:c7vn0j$plv$1@news.BelWue.DE

gabriele renzi schrieb:

send a pr about it. It is stable on my winxp box

Win98/SE Just after the Start:

Cannot find import; DLL may be missing, corrupt, or wrong version
File “efox_microsoft.dll”, error 31

Hello,
i’m back from my holiday and started working again today.
I’m sorry to say that Win98/SE is not supported - as mentioned on the
website, maybe i must use a bold font here. The reason is simply that
you can’t reliable kill a process on Win98/SE or NT.

But i should add an error message instead of crashing the app
silently, thats right.

That’s interesting, I will also take a look at it.
Are there other packages that are commonly used by
emacs programmers?
What I am missing is a way to execute code inside
a emacs session, like scratch for elisp.
I am currently using irb, but many times I am entering
multiline code in irb, just to find out I made a mistake
and have to retype it.
Another nice thing would be a class browser, where you could browse by
method and class, in stead of by file (a la smalltalk).

If you are interested, I find the following replacements
very useful.

Replacement for kill-line,
basicly it either preserves indentation, or removes all
whitespace, not just mess it up.

(defun my-kill-line (&optional arg)
“Improved version of kill-line :wink:
preserves indentation and removes extra whitespace”
(interactive “_P”)
(let ((col (current-column))
(old-point (point)))
(cond ((or (and (numberp arg) (< arg 0))
(not (looking-at “[ \t]$“)))
;use default behavior when calling with a negative argument.
;who calls kill-line with a negative argument anyway?
(kill-line arg))
((and (skip-chars-backward " \t”) ;always true
(bolp)
(save-excursion
(forward-line arg)
(not (looking-at "[ \t]
$”))))
; killing from an empty line:
; preserve indentation of the next line
(kill-region (point)
(save-excursion
(forward-line arg)
(point)))
(skip-chars-forward " \t")
(if (> (current-column) col)
(move-to-column col)))
(t ; killing from not empty line:
; kill all indentation
(goto-char old-point)
(kill-region (point)
(save-excursion
(forward-line arg)
(skip-chars-forward " \t")
(point)))))))

(global-set-key '(control k) 'my-kill-line)

replacement for beginning-of-line,
(this seems to be standard in most editors):

(defun beginning-of-line-or-indent ()
“Go to the first non blank character on the line,
or if already there, to the first character.”
(interactive)
(let ((oldpoint (point)))
(beginning-of-line 1)
(skip-chars-forward " \t")
(if (= oldpoint (point))
(beginning-of-line 1))))

(global-set-key '(home) 'beginning-of-line-or-indent)
(global-set-key '(control a) 'beginning-of-line-or-indent)

Kristof

···

On Thu, 13 May 2004 21:15:36 +0200, Ruben wrote:

I use Emacs for Ruby programming… and programming in general, and for
all kinds of other stuffs. I really should try out the Ruby
Refactoring Browser, as it seems that it’s meant to be used through
emacs for now :slight_smile: I really wonder how good it is.

Ruben

That’s interesting, I will also take a look at it.
Are there other packages that are commonly used by
emacs programmers?

Do you know http://www.emacswiki.org ? You can find a lot of
information and pointers to emacs-lisp code there. Some packages that
i’ve looked at and seem interesting (allthough not directly related to
ruby), are JDEE (Java Development Environment for Emacs), ECB (Emacs
Code Browser), Flymake, color-theme.

What I am missing is a way to execute code inside
a emacs session, like scratch for elisp.

You can start a shell inside emacs (M-x eshell), most of the time
however, i do this (executing code, not ruby specific) in a seperate
xterm. Debugging on the other hand (C-code), i always do with gdb
inside emacs (M-x gdb), it is nice because emacs will show you where
you are in the source, and you have the source right there when you
want to make changes. (you can do something similar with ‘M-x rubydb’,
but i’ve never really used that yet, only tested)

Actually you can also start compiles (with ‘make’) from inside emacs
(M-x compile). Emacs will show the output of make in a seperate
buffer. If there are errors, you just have to click/enter on the error
and it will ‘warp’ you to the source at the location of the error.

I am currently using irb, but many times I am entering
multiline code in irb, just to find out I made a mistake
and have to retype it.

The elisp-files you get for ruby support in emacs also contain
‘inf-ruby.el’. If you load this, then you can run irb inside emacs
(M-x run-ruby). There are functions defined so that you can mark
something in your source-file and ‘send’ that code to the running
irb-process (ruby-send-region/ruby-send-region-and-go). You might take
a look at ‘inf-ruby.el’. To be honest i haven’t used this a lot, but
most of my programming work is in C. You might also look into
‘rubydb3x.el’.

Another nice thing would be a class browser, where you could browse by
method and class, in stead of by file (a la smalltalk).

Maybe you should take a look at ECB (Emacs Code Browser,
http://ecb.sourceforge.net), this probably does what you want. It
doesn’t support Ruby though, AFAIK :(. (it supports C/C++, Java and
even Python…) Personally, i’ve used it a couple of times, but most
of the time i don’t. Things like this always seem to take up too much
screen space, and i really want to see as much code as possible at
once.

If you are interested, I find the following replacements
very useful.

Replacement for kill-line,
basicly it either preserves indentation, or removes all
whitespace, not just mess it up.

(defun my-kill-line (&optional arg)
…)

hmm… maybe i’m doing something wrong, but this seems to act the same
as normal kill-line ? are you using Xemacs, or Emacs ?

replacement for beginning-of-line,
(this seems to be standard in most editors):

i’m afraid i’m the kind who doesn’t like this behaviour, but thanks
anyway :slight_smile:

Ruben

···

At Fri, 14 May 2004 06:34:04 +0900, Kristof Bastiaensen wrote:

Kristof Bastiaensen wrote:

I use Emacs for Ruby programming… and programming in general, and for
all kinds of other stuffs. I really should try out the Ruby
Refactoring Browser, as it seems that it’s meant to be used through
emacs for now :slight_smile: I really wonder how good it is.

Ruben

That’s interesting, I will also take a look at it.
Are there other packages that are commonly used by
emacs programmers?
What I am missing is a way to execute code inside
a emacs session, like scratch for elisp.
I am currently using irb, but many times I am entering
multiline code in irb, just to find out I made a mistake
and have to retype it.
Another nice thing would be a class browser, where you could browse by
method and class, in stead of by file (a la smalltalk).

There is code somewhere on the rubygarden wiki for executing a range of
ruby code. It’s under editor extensions I think. I was under the
impression the majority of ruby coding did occur under emacs, with
perhaps vim showing up as the next most used editor, but perhaps i am
mistaken.
Charlie

Charlie

···

On Thu, 13 May 2004 21:15:36 +0200, Ruben wrote:

Kristof Bastiaensen kristof@vleeuwen.org writes:

···

On Thu, 13 May 2004 21:15:36 +0200, Ruben wrote:

replacement for beginning-of-line,
(this seems to be standard in most editors):

(defun beginning-of-line-or-indent ()
“Go to the first non blank character on the line,
or if already there, to the first character.”
(interactive)
(let ((oldpoint (point)))
(beginning-of-line 1)
(skip-chars-forward " \t")
(if (= oldpoint (point))
(beginning-of-line 1))))

(global-set-key '(home) 'beginning-of-line-or-indent)
(global-set-key '(control a) 'beginning-of-line-or-indent)

Kristof

FYI, Emacsen by default have:

C-a – beginning-of-line
M-m – back-to-indentation

Do you know http://www.emacswiki.org ? You can find a lot of
information and pointers to emacs-lisp code there. Some packages that
i’ve looked at and seem interesting (allthough not directly related to
ruby), are JDEE (Java Development Environment for Emacs), ECB (Emacs
Code Browser), Flymake, color-theme.

Thanks, I will take a look at it. The problem is that there
is so much elisp code out there, that is sometimes unpractical
to find something really useful (i.e. for Ruby). I have tried
ECB, but I couldn’t get it to work. There were just
so many dependencies, and anyway they don’t work with Ruby.

want to make changes. (you can do something similar with ‘M-x rubydb’,
but i’ve never really used that yet, only tested)

Interesting, I will give it a try.

There are functions defined so that you can mark
something in your source-file and ‘send’ that code to the running
irb-process (ruby-send-region/ruby-send-region-and-go). You might take
a look at ‘inf-ruby.el’. To be honest i haven’t used this a lot, but
most of my programming work is in C. You might also look into
‘rubydb3x.el’.

That is kind of what I was looking for. I find it only a bit
annoying that you can eat the prompt. I would prefer no prompt
at all (maybe there is a way around).

Another nice thing would be a class browser, where you could browse by
method and class, in stead of by file (a la smalltalk).

Maybe you should take a look at ECB (Emacs Code Browser,
http://ecb.sourceforge.net), this probably does what you want. It
doesn’t support Ruby though, AFAIK :(.

Eh, not really, I’d like something specific for Ruby.

If you are interested, I find the following replacements
very useful.

Replacement for kill-line,
basicly it either preserves indentation, or removes all
whitespace, not just mess it up.

(defun my-kill-line (&optional arg)
…)

hmm… maybe i’m doing something wrong, but this seems to act the same
as normal kill-line ? are you using Xemacs, or Emacs ?

Xemacs. If it doesn’t work on Emacs, shouldn’t it give an error?
Try to use it at the end of a line, and see the difference.
Try also on an empty line, type many spaces, and press my-kill-line.
I find myself never having to type many times del or tab to fixup
whitespace anymore. I am interested what you think about it (I think
it is a great improvement).

replacement for beginning-of-line,
(this seems to be standard in most editors):

i’m afraid i’m the kind who doesn’t like this behaviour, but thanks
anyway :slight_smile:

Well I did, but I was used to do it from MSVC. :slight_smile:

Ruben

Thanks for the info,

Kristof

···

On Fri, 14 May 2004 21:11:40 +0900, Ruben wrote:

At Fri, 14 May 2004 06:34:04 +0900, > Kristof Bastiaensen wrote:

That is kind of what I was looking for. I find it only a bit
annoying that you can eat the prompt. I would prefer no prompt
at all (maybe there is a way around).

I agree, I find it quite annoying too, but i don’t know a way around
it either.

Xemacs. If it doesn’t work on Emacs, shouldn’t it give an error?
Try to use it at the end of a line, and see the difference.
Try also on an empty line, type many spaces, and press my-kill-line.
I find myself never having to type many times del or tab to fixup
whitespace anymore. I am interested what you think about it (I think
it is a great improvement).

I got it to work (I had to replace (interactive “_P”) with
(interactive)), and I really like it, saves a lot of typing. :slight_smile:

Ruben

···

At Fri, 14 May 2004 21:54:04 +0900, Kristof Bastiaensen wrote: