What OS do you use for Ruby development?

W

Walton Hoops

I see Redcar is written in JRuby. How is the responsiveness? I'm always
highly skeptical of editors not written in C. They all just
feel...sluggish. Even those written in Java (which apparently can arguably
out perform C...I shudder to think how a Java based high performance game
would perform but I digress) seem sluggish, use way too much memory, and
crash way too often. I really wanted to like Netbeans.
Nice and responsive for me on both my home machine (6G memory, i7) and
work (2G memory, dual core). It is a little slow to start, but much
faster than Netbeans or Eclipse. Give it a whirl! It's just a gem so
it's easy to install/uninstall (and you don't need to be running JRuby
to install it).
Two side notes:

1) Redcar comes with a number of Textmate bundles pre-installed, however
they do not show up by default on the bundles menu. To get the Textmate
bundles in the bundles menu, first go to Plugins=>Edit Preferences, open
textmate.yaml, and make sure it looks like:
---
load_bundles_menu: true
select_bundles_for_menu: true
select_bundles_for_tree: false
loaded_bundles: []

(I believe select_bundles_for_menu is false when first installed).
After that, go to Bundles=>Browse Snippets (Bundle Tree on 0.4.1) and
you should now be able to right click on your desired bundles and select
"Pin to Menu"

2) I tried updating to Redcar 0.5.1 on my both my work (Windows) and
home VM (Windows) computer today, and when I tried opening the Installed
Bundles or Connection Manager (anything that acts like a web page) it
crashed. I'm not running into this problem on my home (Linux) computer,
so I assume it's a Windows issue. If you are running Windows I
recommend sticking to 0.4.1 for the time being.
 
B

Benoit Daloze

I don't want to start any OS wars. I was just curious as to what OS
you prefer to run/code ruby in. If you run *nix, what distro?
Thanks,
-Nick

I use OS X (with TextMate) and deploy on ArchLinux (with vim) (but I
believe many other distros would be good too).

I was on Windows before, but I happily moved to *nix (I coded with Intype).
 
E

Eric Christopherson

I see Redcar is written in JRuby. =A0How is the responsiveness? =A0I'm al= ways
highly skeptical of editors not written in C. =A0They all just
feel...sluggish. =A0Even those written in Java (which apparently can argu= ably
out perform C...I shudder to think how a Java based high performance game
would perform but I digress) seem sluggish, use way too much memory, and
crash way too often. =A0I really wanted to like Netbeans.

My two cents:

I use Ruby mostly on Windows at work, but sometimes on OS X. So far I
only know plain YARV Ruby, but I'd like to learn Cocoa integration
with MacRuby and Java integration with JRuby.

On Windows I use jEdit, which is in Java and quite responsive for me.
I installed NetBeans to be able to play around with its UI builder
with JRuby/Monkeybars/Swing, but haven't done much with it apart from
that. On OS X I use MacVim.
 
G

Guten

[Note: parts of this message were removed to make it a legal post.]

ArchLinux with vim and VirtualBox with xp
but Windows will lack some libraries.
e.g.
GTK not work in Windows with Ruby 1.9.

Guten Tag. Linux Ruby

facebook.com/gutenlinux
Signature powered by
<http://www.wisestamp.com/email-install?utm_source=extension&utm_medium=email&utm_campaign=footer>
WiseStamp<http://www.wisestamp.com/email-install?utm_source=extension&utm_medium=email&utm_campaign=footer>



On Sun, Sep 12, 2010 at 12:06 AM, Eric Christopherson <
 
M

Michael Brooks

From: "Nick Hird said:
Hello Nick:

For development I prefer using Windows Vista or 7 if the Gems are
available on Windows but will use Linux Mint if the Gems aren't available
or precompiled for Windows.

For execution prefer running them on Windows (because that's were most of
my apps are) even if the speed is a little slower most of the time.

Michael

A few folks mentioned their editors, so... my favourite editor is RubyMine
(by JetBrains), I only used the trial version and haven't registered it yet
but it's slightly better than my previous favourite TurboRuby (by
Embarcadero) because it has more smarts and is actively maintained. Both
TurboRuby and my previous previous favourite, Arachno Ruby (by
Scriptolutions), aren't being actively maintained anymore. All these
editors provide a code-completion, syntax checking and debugging experience
more like Delphi and Visual Studio (minus the native GUI designers of
course).

As a side note, it would be really nice if the Windows Ruby installer
installed and automatically configure Mingw for GEM compilation so that when
I "gem install" something in Windows without a recent pre-built binary that
it compiles one just like Linux does. For example, after a few hours I gave
up on trying to get the Ruby-OpenAL GEM installed on Windows because it
seemed like to much work for the experimenting I wanted to do. I later
tryed the same thing on Linux Mint and the install was painless. It would
be nice if the experience in the Windows platform was similar. Since the
Mingw compiler has made the performance difference between Linux and Windows
much smaller I prefer to stay on Windows since I also develop using Delphi.
The only real nuisance on Windows is GEM availability. It must be a
pain-in-the-tush for GEM developers to make pre-built Windows binaries. I
imagine it would helpful to cross-platform consistency / predictably /
deployability if there were automatic GEM compilability on Windows too.

Michael
 
Q

Quintus

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

Am 12.09.2010 17:57, schrieb Michael Brooks:
a side note, it would be really nice if the Windows Ruby installer
installed and automatically configure Mingw for GEM compilation so that
when I "gem install" something in Windows without a recent pre-built
binary that it compiles one just like Linux does.

You know about the DevKit ( http://rubyinstaller.org/add-ons/devkit/ ),
do you?

Vale,
Marvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyM/h8ACgkQDYShvwAbcNlFcwCdHgpI/VS04/PnKmMw9+Hh4QSe
8J8AmQHyvXVO6ZsnJdillI36ddno4P1u
=qG/X
-----END PGP SIGNATURE-----
 
M

Michael Brooks

From Marvin:
You know about the DevKit ( http://rubyinstaller.org/add-ons/devkit/ ),
do you?

Vale,
Marvin

Hello Marvin:

Thanks. I didn't know about that. I'll check it out. If it's what I was
suggesting then my concern would be that it be a more obvious / automatic
option for everyone so that the whole Windows pre-built binary hassle can
fade into history.

Thanks again!

Michael
 
L

Luis Lavena

As a side note, it would be really nice if the Windows Ruby installer
installed and automatically configure Mingw for GEM compilation so that when
I "gem install" something in Windows without a recent pre-built binary that
it compiles one just like Linux does.  For example, after a few hours Igave
up on trying to get the Ruby-OpenAL GEM installed on Windows because it
seemed like to much work for the experimenting I wanted to do.  I later
tryed the same thing on Linux Mint and the install was painless.  It would
be nice if the experience in the Windows platform was similar.  Since the
Mingw compiler has made the performance difference between Linux and Windows
much smaller I prefer to stay on Windows since I also  develop using Delphi.
The only real nuisance on Windows is GEM availability.  It must be a
pain-in-the-tush for GEM developers to make pre-built Windows binaries.  I
imagine it would helpful to cross-platform consistency / predictably /
deployability if there were automatic GEM compilability on Windows too.

Hello,

Even on linux, if you don't have a compiler toolchain, gem
installation may fail. Compilers are always optional.

There is the Development Kit that you optionally download. Please see
our wiki and the mailing list for details on that.
 
G

Goganchic

I don't want to start any OS wars. I was just curious as to what OS
you prefer to run/code ruby in. If you run *nix, what distro?
Thanks,
-Nick

Ubuntu 10.04
 
I

Iain Davis

Depends on which machine and circumstance.

Any of these:

On the desktop machine:
1) Windows XP, using Emacs-Windows32-nxhtml as my editor
2) Windows XP, using Emacs-Windows32-nxhtml as my editor, but ruby
(and rails) running on a Slackware Linux Machine, which I use Putty
(and screen) to issue the shell commands.

On the laptop:
3) Windows 7, using Emacs-Windows32-nxhtml as my editor.
4) Windows 7, using Emacs-Windows32-nxhtml as my editor, but ruby (and
rails) running on the Slackware Linux Machine, which I use Putty (and
screen) to issue the shell commands.
5) Fedora 13 in a VM-Workstation VM (VM-Workstation running on top of
Windows 7), *ix Emacs+nxhtml as my editor.

I tend toward using the laptop, since I can use it in more places, and
development doesn't need the kind of hardware I have in the PC.

I don't currently have a functional Mac; I've considered buying a new
license for the OS and installing it in a VM-Machine, but I've not got
around to it.

Iain
 
L

lucky in ruby

Nick said:
I don't want to start any OS wars. I was just curious as to what OS
you prefer to run/code ruby in. If you run *nix, what distro?
Thanks,
-Nick

Its all about investment you want to put it in and your favorite OS.

If cost does not matter to you, buy a decent macbook or a macbook pro
and jump into ruby world

If cost does matter to you, buy a good IBM thinkpad or some pc laptop
and install any of your favorite linux version .. not only Ubuntu, there
are tons of linux distributions - Fedorda, debian, Symbian, Mint, etc.,


if you fav OS is windows - you can make them work but there are some
very good tools in ruby that are not ported to windows yet. So please
stick to either Mac or a linux version.

Hope it helps
 
S

Steven Elliott Jr

I have:

1.) MacBook Pro 15" running snow leopard, I use TextMate with GitHub Theme
2.) MacBook Pro 17" " " "
3.) iMac 27" " " "
4.) MacMini Server with MongoDB, MySQL, and Git installed for development testing
5.) 3 x Dell PowerEdge Server running Gentoo with Rails 2.3.8 MongoDB, and MySQL (These are enterprise servers running inside the office where I work)
6.) 1 x Dell PowerEdge Server Running 3.0.0 for testiing
7.) various other servers running ngnix, MySQL, MongoDB and memcached, All Dell Running Gentoo or Ubuntu

I should note that all of this hardware was purchased by employer and is maintained by them as well. We recently adopted ruby on rails as a viable alternative to ASP.NET and have deployed several successful apps.
 
C

Charles Roper

Windows 7 x64 and Windows XP
RubyInstaller versions of Ruby 1.9.2 and 1.8.7 + DevKit + Pik
JRuby 1.5.2
Cygwin w/Ruby 1.8.7
Console 2
TCC LE 11
E Text Editor 2

I sometimes use Ubuntu in a VirtualBox VM, but as Ruby on Windows has
improved so drastically since switching to mingw (Thanks to the
sterling work of Luis and the rest of the RubyInstaller team), I've
found I don't need it so much any more.

Charles
 
C

Charles Roper

Hi Ed,

Thanks, Charles.

Is the mingw component now builtin to RubyInstaller?

Well, yes, the versions of Ruby packaged in the current RubyInstallers
are compiled using the MinGW toolchain. It's pretty cool how easy it
is to compile different versions of Ruby in Windows:

http://github.com/oneclick/rubyinstaller#readme

Then there's the DevKit, which is a MinGW environment designed for
compiling Ruby C extensions (and other things):

http://github.com/oneclick/rubyinstaller/wiki/Development-Kit

Charles
 
L

Luis Lavena

Thanks, Charles.

Is the mingw component now builtin to RubyInstaller?

The compiler environment (DevKit) is not bundled with the installer,
specifically because not all users will require to compile extensions.

So is an optional download that you can get from the download page:

http://rubyinstaller.org/downloads

And follow the installation instructions:

http://github.com/oneclick/rubyinstaller/wiki/Development-Kit

Jon (contributor of the project) is working in proper installer, in
the mean time you can use the SFX packages.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,787
Messages
2,569,631
Members
45,338
Latest member
41Pearline46

Latest Threads

Top