3 ms·
>Ruby almost exclusively runs on Linux (for the server) and Mac (for the desktop) http://rubyinstaller.org/ http://rubyinstaller.org/ would care to disagree.
by Groxx 16y ago
>Ruby almost exclusively runs on Linux (for the server) and Mac (for the desktop)
http://rubyinstaller.org/ http://rubyinstaller.org/ would care to disagree. It's just that it's included by default on many Unixes/BSDs (/GNUs/what-have-yous). Windows includes utterly squat for development of any kind on a fresh install; the exact same statement could have been made for any language.
Literally. You can't compile C out of the box either, nor any .Net code. Does that mean nobody programs in C or .Net on Windows?
- sid0 16y agoModern versions of Windows include C# and VB compilers.
- borisk 16y agoNo they don't. At least those versions which come from Microsoft and not from your favorite torrent tracker/IT department. All Windows relesead after 2003 contain the .NET framework Common Language Runtime, but compilers are part of the SDK.
- aquark 16y agoActually the compiler is part of the framework runtime. This XP netbook I'm typing it on has it installed and is able to compile a C# executable out of the box. Still, it is a fairly academic argument since notepad + command line is a pretty poor dev environment in any os.
- borisk 16y agoRight, my bad.
- contextfree 16y agoWindows 7 also includes Powershell, which is a pretty capable dynamic language in its own right.
- zrail 16y agoThat's not quite true. You can use Windows Scripting Host from either VBScript or JScript out of the box on every Windows after 95, as well as the batch language in cmd.exe. I'm not saying that these are good options, but they do exist. http://msdn.microsoft.com/en-us/library/ms950396.aspx http://msdn.microsoft.com/en-us/library/ms950396.aspx
- Groxx 16y agoHah, interesting. The little that is included is stuff I've never heard of anyone willingly using for Windows programming.
- zrail 16y agoI actually used Windows Scripting Host via JScript quite extensively a while back (think 5 years ago). Built a little program that would audit all of the discoverable machines on the corporate network to see if they were incorrectly using the MSDN Windows XP key, and if they were print out their hostname and dell asset tag so we could go find them.
- thibaut_barrere 16y agoWSH scripting is fairly common for Windows sysadmins I know of.
- cschep 16y agoThis used a ton at MS in the test labs where boxes are flattened evey day and new builds are installed. I longed for windows to come with .net preinstalled in the days that I worked in a lab there. That being said, I concur that they are bad options, ugh.
- ichverstehe 16y agoRuby itself might run fine on Windows, but the fact is that the majority of Ruby developers use Mac or Linux and cares exactly _zero_ about Windows, which means that a lot of libraries etc. doesn't work on Windows. So, while possible, using Ruby on Windows is an uphill battle.
- petercooper 16y agoIt's not exhaustive, but two years ago I asked "the community" what they thought on Microsoft and Ruby and.. http://www.rubyinside.com/is-windows-a-first-class-platform-for-ruby-823.html http://www.rubyinside.com/is-windows-a-first-class-platform-... At Euruko 2008, I chaired the evening panel and brought it up too. A room of 400 people went to silence when I asked if Windows support was considered important to Rubyists.
- marksmen 16y agoCompare that to Python. Nearly all libraries work very well on windows. Thats why Python trumps ruby it is developed by much more sane and professional people rather than R -rated Apple Fanbois
- xpaulbettsx 16y agoThis is an aside, but you absolutely can compile .NET out of the box on Vista and Win7, it's just not in $PATH by default. Dig around in %SystemRoot%\Microsoft.NET some time...