OS for rails development: Windows vs. Mac?

Conrad T. wrote:

Hey Nathan, your question is like asking what are the pros to developing
.net on windows. Anyway, here are the pros to developing Rails on Mac
OS X:

  1. Mac OS X
  2. Unix based (FreeBSD + Mach Kernel)
  3. Many Unix and Commercial Applications
  4. It’s the BEST commerical OS out there with the best hardware
    to go along with it.
  5. Wasn’t Ruby and Rails born in the Unix environment? If so, then
    this is another reason.

Peace,

-Conrad

Not to start a fight here, but none of these justify “developing Rails”
on a Mac. They may argue Mac over PC… but…

Here are my arguments that it doesn’t matter:

  1. Webrick runs on Mac and Windows just fine.
  2. Eclipse / RadRails runs on both just fine.
  3. SVN runs on both just fine.
    +Windows - TortoiseSVN is great.
  4. +Mac - TextMate, though I haven’t bought into that myself yet.
  5. Ruby runs on both just fine – therefore you get the generators,
    Capistrano, etc.

Simple fact is that I do lots of other stuff on a computer. Most of
that stuff (in my case) makes it more reasonable to stick with a PC. I
really enjoy using the Mac, but I’m not going to force that decision.
If you already have a PC and are comfortable on it, I think it would be
silly to change horses. Both platforms have their quirks.

A Mac will not make your application any better.

Jake

Exactly and if you’re comfortable on a PC then you needn’t fall for
the peer pressure thing :slight_smile: Too many religious nerdy internet flame
wars can start over this debate.

I was just chucking my 2c worth in the ring that windows is very
viable for development on.
Maybe in a year or two’s time with OS X I may be one of those
uber-nerdy nix cli proficient dudes that I’m more productive under
OSX, but (again for me), I’m happier under windows and that = more
productive. All the tools I use are the same if not better under
windows so that makes sense for me.

Where I do see benefit is under really tricky little shell scripts
managing your servers rsyncing/scping all those little bitty files
etc. But if you’re doing all the you likely wouldn’t be needing to ask
the question :slight_smile:

R

hey Jake, you can work with whatever platform you feel comfortable
with but please don’t ask questions why people use one platform over
another. If the developer
writes X on a platform, then don’t expect it to be on every other
platform. Next,
those were my reasons for enjoying development on Mac OS X and it’s not
your
reason to switch. I have alot of Unix tools that I’ll never see
native on the XP
platform and most wouldn’t work anyways because of the way that XP
poorly
does memory management and I have been assured that these things will be
resolved by MS Support with Windows Vista. Finally, I do alot of video
editing
with Final Cut Pro, compositing with Shake, and animation work with Maya
and
these applications either don’t exist and/or don’t run well with XP.

Peace,

-Conrad

The Mini is great, but go for a portable instead.

2.5 years ago I thought I was the last person to get a portable.

I had computers everywhere I worked, so why would I need one?

I bought it because I was traveling. Now I’m no longer traveling
as much, but there’s NO WAY I’d go back to a desktop system.

Having all of your stuff where ever you are is fantastic.


– Tom M.

The little bitty files etc. are part and parcel of that annoying
development
thing. rsync and scp are important tools and supported spottily under
Windows. If you are deploying to a Windows server, it makes sense to run
Windows. If you are deploying to a *nix server, you will run into
problems
– probably with permissions – that you simply couldn’t have foreseen.
And
it will happen exactly when you promised to show the app to your client.

I’ve developed happily on Windows for years. I know how to make Windows
run
from the command line. Heck, I even know the #@$& PC BIOS. But I still
develop Web apps that target *nix platforms on a Mac. I’ve just been
bitten
too many times by the “I’m going to just make one little change here…”
bug
that leaves a permission bit unset on the server and you know the rest.

Of course with Bootcamp and Parallel, you don’t have to make a choice,
do
you?

That’s my $.02 :slight_smile:

View this message in context:
http://www.nabble.com/OS+for+rails+development%3A+Windows+vs.+Mac--t1652210.html#a4480689
Sent from the RubyOnRails Users forum at Nabble.com.

I’m in the process of switching my development over to osx.
So far the experience has been great, and I feel like it’s a step
forward.
Unfortunately there are still a few pretty big annoyances.

  1. The key bindings that I use the most don’t exist. No control arrow to
    jump between words, or home/end for lines.
    Textmate can be configured for them to work, but I’m having a hard time
    getting around everything else without them.

  2. No tortoise svn. There’s a port (http://scplugin.tigris.org/), but
    it’s
    inactive, and hasn’t been built for intel chips.

  3. Navicat for osx sucks comapred to the windows version.

  4. No split panes in textmate.

On 5/20/06, Joshua B. [email protected] wrote:

I’m in the process of switching my development over to osx.
So far the experience has been great, and I feel like it’s a step forward.
Unfortunately there are still a few pretty big annoyances.

  1. The key bindings that I use the most don’t exist. No control arrow to
    jump between words, or home/end for lines.
    Textmate can be configured for them to work, but I’m having a hard time
    getting around everything else without them.

Well… In my textmate I am able to switch between words by holding
down ALT and using the arrows. Going to end of line is done with CTRL
and arrows keys.

  1. No tortoise svn. There’s a port (http://scplugin.tigris.org/ ), but it’s
    inactive, and hasn’t been built for intel chips.

svnX is nowhere close to being as good as Tortoise. But the only thing
I use really is add, commit and update. And svnX is fast and snappy. I
at least have found it to be prefectly acceptable

  1. Navicat for osx sucks comapred to the windows version.

You have to realise that switching between operating system means that
you can’t use excactly the same software. As far as to mysql goes then
I firmly believe that you don’t need much software for it. I think
it’s best to learn to use migrations to fully use the power of RoR.
Nevertheless it’s nice to have a mysql client for when you need to
delete many rows or make minor changes. But in that I prefer
simplicity over features so I am absolutely in love with yourSQL.

More SQL clients:
http://www.versiontracker.com/php/search.php?mode=basic&action=search&str=mysql&plt[]=macosx&x=0&y=0

  1. No split panes in textmate.

Totally agree. But the great diff support minimized my need for it.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

Mac vs. Windows vs. BSD/Linux

This seems like a wiki topic. It’s only a stub

http://wiki.rubyonrails.org/rails/pages/DevelopmentEnvironments

Thanks Conrad.I’ll take a look at it.I’m going to make a purchase in
June.

Tom,
Thanks for the advice…I’ll take a look at the portable…I’m planning
on making a purchase in June.
Good week,
Pat

The key bindings issue is one you will either have to solve by remapping
(and
TextMate observes these remappings quite well) or by learning the Mac
standard keys. After using Windows and only Windows since 3.0, I got a
Mac
in '97 but used Macs only for graphics. I switched my Web development
over
to the Mac full time only in the last five months – I’m really not
using
the PC anymore except for testing. What’s weird is that I so completely
retrained myself that it seems as strange to do all the Windows key
combinations now as it did when I first started using the Mac key
mappings.

I’ve tried Navicat for the Mac and it just wasn’t made-for-Mac software.
Try
CocoaMySQL.

http://cocoamysql.sourceforge.net

Oh, and please consider migrations instead of the GUI. They are so much
more
powerful because you can run the migration and test it on you dev
machine,
then run the exact same migration on your staging and/or production
server.

And yeah, split panes would be a great feature for TM.

View this message in context:
http://www.nabble.com/OS+for+rails+development%3A+Windows+vs.+Mac--t1652210.html#a4488556
Sent from the RubyOnRails Users forum at Nabble.com.

Hmm… considering the switch…

So what are the keyboard shortcuts when editing text (in any standard
text
window not just under text mate under OS X) for

  1. Select word
  2. Delete a word (Backwards and forwards)
  3. Move the cursor to the end of a line or the start
  4. Move the cursor jumping per word

Is there something you can get for OS X to provide these sort of
keyboard
shortcuts? It would seem ODD that they left this out of the standard OS
feature
set since entering text is a common thing.

On 21 May 2006, at 03:11, s.ross wrote:

the PC anymore except for testing. What’s weird is that I so
completely
retrained myself that it seems as strange to do all the Windows key
combinations now as it did when I first started using the Mac key
mappings.

I’ve tried Navicat for the Mac and it just wasn’t made-for-Mac
software. Try
CocoaMySQL.

http://cocoamysql.sourceforge.net

If you plan on using the latest version of MySQL, I believe you need
to use the latest beta (I’m using it with success): http://
cocoamysql.sourceforge.net/beta/CocoaMySQL_0.7b3.zip

Best regards

Peter De Berdt

On May 23, 2006, at 05:16 PM, Jason wrote:

Hmm… considering the switch…

So what are the keyboard shortcuts when editing text (in any
standard text
window not just under text mate under OS X) for

There’s no guarantee that all OS X text editors will follow these
short cuts, although the vast majority of them do. For all apps that
use the Cocoa text editing features, you get these automatically.

  1. Select word

Cursor at start of word: shift + right-arrow
Cursor at end of word: shift + left-arrow

  1. Delete a word (Backwards and forwards)

Backwards: cmd (aka. “open apple”) + delete/backspace (depending on
your keyboard labels)
Forwards: cmd + del (the key that’s next to home/end on full-size
keyboards). This one is really hard to do on most laptop keyboards,
since they don’t normally have this key…

  1. Move the cursor to the end of a line or the start

End: cmd + right-arrow
Start: cmd + left-arrow

  1. Move the cursor jumping per word

Forwards: option (aka. alt) + right-arrow
Backwards: option + left-arrow

Is there something you can get for OS X to provide these sort of
keyboard
shortcuts? It would seem ODD that they left this out of the
standard OS feature
set since entering text is a common thing.

I guess I haven’t been following this thread closely… who said
these keyboard shortcuts where left out? As I mentioned above, these
are available, by default, for any app that uses the built-in text
editing features of the Cocoa application framework. If the
programmer chooses not to use this, that certainly can’t be the fault
of the OS maker, can it?

-Brian

On my old TiBook, the Del key can be obtained by pressing Fn
+Backspace. So it’s just one key extra.

Same on my AiBook. My personal favourites are control-k and control-y,
though you need to know emacs to know what they do. Sometimes multiple
cuts get confusing though…

An important thing for Windows users: home and end don’t work the
same, they skip to the start and end of the document. Use command+left
arrow and command+right arrow for this, or control-a and control-e if
you like your UNIX.

Phillip H.
http://www.sitharus.com/

Forwards: cmd + del (the key that’s next to home/end on full-size
keyboards). This one is really hard to do on most laptop keyboards,
since they don’t normally have this key…

On my old TiBook, the Del key can be obtained by pressing Fn
+Backspace. So it’s just one key extra.

Best regards

Peter De Berdt

Hey Phillip, these are my favorites being that I’m a long time emacs and
xemacs user.

Peace,

-Conrad

I use SmartSVN to access my subversion repository. They have both
Mac, Windows and Linux clients. I’m on a Windows platform so I use
their Win version. I used SmartCVS for the longest time and recently
switched to Subversion so I was pleased that they have an SVN version
of their client. But as for development of the Rails application
itself I use Linux (CentOS).

  • Brent

On 19 May 2006 20:24:51 -0000, Kevin O.