Ruby IDE

Charles Oliver N. wrote:

Unless I was mistaken, it required the JDK which is like another 100MB.

For Windows, JDK appears to be 77MB, which is admittedly big, but it’s
not 100MB.

The compressed download is 77MB, but that is not the install size. I
thought I was being conservative with 100 MB, so I did an install in a
virtual machines and the install size for JDK, choosing all defaults, is
a whopping 583.4 MB!

I didn’t check other platforms. And NetBeans does say it
depends on JDK to “install and run”. So basing off 6.1’s Ruby-only size
(29MB) the total would be about 106MB.

Again, that 29MB is the compressed download. After installation the
Ruby-only Netbeans 6.1 takes up an addition 110.4MB. That would put the
total install size at 693.8MB which would take up 2/3rds of my 1.0GB
flash drive, if it’s even possible to embed the JDK and use in a
portable way.

Checking EasyEclipse, the Windows download size for the Ruby/Rails
version (not including a JRE) is 112MB. If we go by your size estimate
of 80MB, that’s still only 26MB smaller than NetBeans plus the entire
JDK (and still no JRE included).

The extracted size of the full blown Ruby/Rails version of EasyEclipse
is 163.9MB, even if I include the JRE, which I think installs at about
150MB, that puts the total at about 315MB which is just under half the
size of the Netbeans footprint.

Considering that JRE is installed on almost every computer anyway, and I
actually use “Eclipse Platform Runtime” + “EasyEclipse RadRails Plugin”

  • “EasyEclipse RDT Plugin” which all extracted and installed comes to
    66.3MB. So what I actually use is 9.6% the size of the minimum (as far
    as I can tell) install of Netbeans for Ruby/Rails.

And Eclipse is even less portable than NetBeans; it must be downloaded
for a specific platform, because the whole GUI is based on native code
and native components. You can’t run the same Eclipse on a Windows box
as you would on a Linux box, for example.

Unfortunately, I only need it to be portable between Windows computers.
I could, however, keep Windows, Linux, and Mac (though I have not used
or known someone even had a Mac for years) on my flash drive and still
take up less space than Netbeans.

I presume you’re running this Eclipse install on the same OS every time,
or Eclipse has started including native binaries for multiple platforms.
Can you confirm which?

I’m only using Eclipse on Windows, but a quick look on their website and
they do have downloads for Mac, linux, AIX, Solaris, and HP-UX.

James D. wrote:

This is a nice find. I downloaded and unzipped 6.1 Ruby/Rails version
and it ran just fine on a computer that did not have the JDK. This
makes me really wonder why the installer would not continue without
having the JDK installed. Since I don’t have the JDK (just the JRE), I
wonder if the extracted Netbeans will eventually run in to problems? I
don’t think I’ll explore it’s usage now, but I would be curious to know.

Yeah, I’m not sure either. The JDK dependency did strike me as a little
odd, especially since unless you’re doing Java compilation there’s
really not that much more in the JDK other than compiler/build tools and
sources. So I’d be pretty surprised if the standalone NetBeans Ruby IDE
didn’t work just fine without a full JDK present.

It’s possible that the JDK dependency is just there because most of the
NetBeans distributions include Java support. Who knows…

But of course, I always have a JDK present and I’m doing as much Java as
Ruby, so I wouldn’t know what issues you might run into.

  • Charlie

James D. wrote:
[…]

makes me really wonder why the installer would not continue without
having the JDK installed.

Good question:

http://www.netbeans.org/issues/show_bug.cgi?id=127678

I’ve did not follow the issue closely.

Since I don’t have the JDK (just the JRE), I
wonder if the extracted Netbeans will eventually run in to problems? I
don’t think I’ll explore it’s usage now, but I would be curious to know.

I think you should be ok, unless you use some, ummm… Glassfish
feature(?), which requires JDK, I think… really not sure, what it was
exactly. I just remember it was something like this from a discussion
somewhere else. The rest of Ruby/Rails feature should work fine.

However, I’ve never tried it myself without JDK.

m.

Ok. I have been seriously working with VIM for the first time, and I
must say, it will be difficult to find anything as versatile as VIM.
There is a small learning curve for casual use, and a slight shift in
thinking, but after getting my feet wet, I am very impressed, and feel
that VIM will most likely become my primary editor. Not really an IDE,
but pretty darn close, and maybe even better.
~Jay

On Tue, Aug 12, 2008 at 6:36 PM, Jayson W.
[email protected] wrote:

Ok. I have been seriously working with VIM for the first time, and I
must say, it will be difficult to find anything as versatile as VIM.
There is a small learning curve for casual use, and a slight shift in
thinking, but after getting my feet wet, I am very impressed, and feel
that VIM will most likely become my primary editor. Not really an IDE,
but pretty darn close, and maybe even better.

For those times you do need an IDE, netbeans has a vimlike editing
plugin

http://jvi.sourceforge.net/

martin

Jayson W. kirjoitti:

I think I will give VIM a whirl.
If you’re gonna go with Vim, I highly recommend you buy O’Reilly’s book on
learning Vi/Vim. Vi isn’t like any other text editors that you have used
before.

VIM also has a very nice offshoot especially for those new to VIM,
called Cream.

Cream includes the original VIM interface, intermediate ‘easy’ +
original, and a easy interface. Menus for a lot of things that VIM only
has shortcuts.

I recommend it for those who feel learning +20 shortcuts is too much.

Casimir P.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James D. wrote:
| The compressed download is 77MB, but that is not the install size. I
| thought I was being conservative with 100 MB, so I did an install in a
| virtual machines and the install size for JDK, choosing all defaults, is
| a whopping 583.4 MB!

The JRE weighs in at 70.7 MB, the JDK at 165 MB, all the latest updates
(1.6.7/1.6.3 respectively), all installed with doing the default
install.

| The extracted size of the full blown Ruby/Rails version of EasyEclipse
| is 163.9MB, even if I include the JRE, which I think installs at about
| 150MB, that puts the total at about 315MB which is just under half the
| size of the Netbeans footprint.

My Netbeans 6.1 install is 160 MB (includes Java [EE], C/C++ and
Ruby/Rails support, including a handful of gems for JRuby and a few
modules for NetBeans).

All values are on Windows XP SP3, NTFS with smalles possible cluster
size. :wink:

You’ll have to add a little overhead for configuration files for
NetBeans, but that comes in at 2MB or so (let’s be generous).

Which all in all clocks in at just shy of 400 MB, but not 700GB. And the
JDK is optional, too.


Phillip G.
Twitter: twitter.com/cynicalryan
Blog: http://justarubyist.blogspot.com

~ - You know you’ve been hacking too long when…
…your speech is punctuated by finger twitches (or arm-waving)
indicating
braces.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiiRvwACgkQbtAgaoJTgL+wOQCfRWX7b4dOW9BDlcLG072+XJYD
XmcAn0AeAHhwtaSQXfWySVunLBZ5TT64
=VzNN
-----END PGP SIGNATURE-----

On 11/08/2008, Martin DeMello [email protected] wrote:

aren’t even WORDS!!!"
ヴィイトル looks like a good enough word :wink:

Honestly I like to use a viitor when working with a piece of text for
a longer time or when writing code. I learned vi in an Unix class, and
since it looked odd enough to be interesting I gave it a try. Now when
I sit before an editor window full of text it makes me grind my teeth.
You cannot beat the counted movement commands of vi with pretty menus.

Another advantage of vi (or ed) is that you can edit your config files
even if you log in to your system using a crooked path with several
intermediate machines. In such situations extra keys like meta,
delete, arrows, backaspace, … might get lost in translation but the
viitor still works like a charm.

I do not use much of the power of VIM and the fact you cannot use
movement commands in : mode sucks. Most commands are short enough but
sometimes you need a longer piece of text as an argument somewhere. So
I thought that I would give an emacsitor a try. Given its edit
commands are key combos they could theoretically work in any mode. And
don’t start about modeless editing. Some more advanced emacs commands
need arguments, and this puts you into a special mode.

The first thing I noticed is that counted movement commands aren’t
present in emacsitors, or at least they are not basic enough to be
described in introductory documentation. On the other hand, the GNU
Emacs people describe the possibility to browse info pages from within
emacs as a cool feature. I completely missed the coolness of this
option. You certainly can do that but the key bindings for viewing an
info page are completely different from those for moving inside a text
buffer. So you can as well start the texinfo viewer in a different
terminal or in a subshell or background your editor. No need to do it
within your editor whatsoever.

In the end I also do use a real editor. I write my email in one
because the other option would be write-only email without the
possibility to reply to the email I am viewing. AFAIK there is no
usable email client that would also allow using an external editor. In
fact I do not know any usable specialized email client, the only thing
that seems to work is client-server solution with part of the email
reader sitting on a server, sending data to a generic client like a
web browser. Desktop environments somehow do not seem to be well
suited for massaging a multi-gigabyte database.

For short pieces of text it is manageable to use an editor. One needs
good mouse-fu and be careful not to type too many errors …

Thanks

Michal

On Thu Aug 14 03:43:41 2008, Michal S. wrote:

AFAIK there is no usable email client that would also allow using
an external editor.

What about the most usable email client of all? Mutt[1]. I am writing
this email in Emacs whose client was launched through mutt.

http://mutt.org

On Wed, 2008-08-13 at 10:36 +0900, Jayson W. wrote:


Dana M. - System A.
Integrated Computer Solutions, Inc.
54B Middlesex Tpke, Bedford, MA 01730
617.621.0060 x112 - http://www.ics.com

for the little extras you might want, search the vim scripts archive…
ala
http://www.vim.org/scripts/script.php?script_id=95

http://robotics.eecs.berkeley.edu/~srinath/vim/snapshot2.JPG

On Thu Aug 14 03:43:41 2008, Michal S. wrote:

AFAIK there is no usable email client that would also allow using
an external editor.

I don’t know what your definition of usable is, but ime, the ability to
specify an external editor is a pretty common feature of email clients.
Kmail let’s you do it (at least pre 4.0–I have no experience post 4.0).
It’s hard for me to remember an email client that I used for a fairly
long
period of time that did not allow that. Of course, for about the last 8
years I’ve used kmail and only briefly tried some others.

Randy K.

On 13/08/2008, Fred P. [email protected] wrote:

On Thu Aug 14 03:43:41 2008, Michal S. wrote:

AFAIK there is no usable email client that would also allow using
an external editor.

What about the most usable email client of all? Mutt[1]. I am writing
this email in Emacs whose client was launched through mutt.

http://mutt.org

Yes.

Until it can sort through the mailbox in background while I can see
and use the state before the last email came it’s useless. Takes
forever to start up, and then keeps sorting as new mail comes in. You
absolutely need the multithreaded approach which you get with the
client-server model.

You don’t have to actually split the application but it has to be
written such that it could be split into the email sorter part and the
viewer part that displays only part of the pre-sorted view. Otherwise
there are serious performance problems leading to serious usability
problems.

Thanks

Michal