我需要一个真正的UNIX RoR开发环境

时间:2021-08-27 23:32:27

From the beginning, I am a Windows master. I started with MS-DOS. I put up Windows 2.1 and every Windows since. I have 10 different Windows boxes running in my house right now, from Windows 7 Ultimate to varied flavors of Windows Servers. I haven't done Windows 8 and don't want to go there.

从一开始,我就是Windows大师。我从MS-DOS开始。我从那以后就把Windows 2.1和每个Windows都放了。我现在有10个不同的Windows盒子在我家里运行,从Windows 7旗舰版到各种风格的Windows服务器。我还没有完成Windows 8,也不想去那里。

I have UNIX experience with both servers and varied software, but it hasn't been my preferred environment. However, I guess I am converting. I've tried to pretend to run UNIX under Windows using Cygwin and MSYS. My purpose is to build a development environment. Both have failed me. I have spent more time trying to fix a series of technical issues than I have developing. That is unacceptable.

我有UNIX服务器和各种软件的经验,但它不是我喜欢的环境。但是,我想我正在转换。我试图假装在Windows下使用Cygwin和MSYS运行UNIX。我的目的是建立一个开发环境。两个都让我失望了。我花了更多的时间来解决一系列技术问题而不是我开发的问题。这是不可接受的。

My Ruby on Rails development environment is by far my highest current priority. I have websites to build, right now.

我的Ruby on Rails开发环境是目前我当前的最高优先级。我现在有网站建设。

At this point, I have two options. One is to find a UNIX development environment in a cloud. The other is to convert one of my many machines to a true UNIX system. So, I need advice. I don't really want to build and babysit a system. The idea of a cloud-based development environment is very interesting, with the caveat that I don't chase it down another rat hole like I have with Cygwin and MSYS.

在这一点上,我有两个选择。一种是在云中找到UNIX开发环境。另一种是将我的许多机器之一转换为真正的UNIX系统。所以,我需要建议。我真的不想建立和照顾一个系统。基于云的开发环境的想法是非常有趣的,但需要注意的是,我不会像Cygwin和MSYS那样追逐另一个鼠洞。

Here are the questions. Is there a solid cloud-based Ruby on Rails friendly development environment out there? Failing that, should I put up an Ubuntu-based system. If I go there, do I convert a workstation or a server?

这是问题。是否有基于云的Ruby on Rails友好开发环境?如果不这样做,我应该建立一个基于Ubuntu的系统。如果我去那里,我会转换工作站还是服务器?

Thanks...

谢谢...

4 个解决方案

#1


6  

I highly recommend Vagrant. I use this to do development on my Windows systems.

我强烈推荐Vagrant。我使用它在我的Windows系统上进行开发。

#2


3  

As you found out, Windows is terrible for RoR development. Your best option would be to use a VM like VirtualBox to run a Linux/Unix instance. There are other VM options, but VirtualBox is free.

正如您所知,Windows对于RoR开发来说非常糟糕。您最好的选择是使用像VirtualBox这样的VM来运行Linux / Unix实例。还有其他VM选项,但VirtualBox是免费的。

Failing that, just convert once of your boxes to Linux/Unix. For development it does not matter one bit if it is a workstation or a server.

如果做不到这一点,只需将您的一次盒子转换为Linux / Unix即可。对于开发来说,如果它是工作站或服务器则无关紧要。

#3


3  

Mac OSX

The unofficial standard for RoR production is Linux, but for development it is Mac OSX. There has been a big migration of developers to the Apple platform that has been going on for many years now.

RoR生产的非官方标准是Linux,但对于开发来说,它是Mac OSX。开发人员大量迁移到Apple平台已经持续了很多年。

It gives you the best of both worlds: it is Unix underneath but it's also a commercial platform, a polished UI, and an available software ecosystem.

它为您提供了两全其美:它是Unix下面的,但它也是一个商业平台,一个优秀的用户界面和一个可用的软件生态系统。

Yes, it's expensive, but people should ask themselves, why are people willing to pay so much? If you can afford 10 boxes for Windows, how about finding $ for one Mac? Then, you will have not just a workable RoR environment, but the best.

是的,它很贵,但是人们应该问问自己,为什么人们愿意支付这么多钱?如果你可以买10个Windows的盒子,如何为一台Mac找到$?那么,你将不仅仅是一个可行的RoR环境,而是最好的环境。

Or go VM

But if you don't take that advice, you may want to install a Hypervisor like Xen or XenServer for free, and then you can run both Windows and Linux on the same machine. This is slightly different than running a VM under Windows.

但是如果你不采纳这个建议,你可能想要免费安装Xen或XenServer之类的Hypervisor,然后你就可以在同一台机器上同时运行Windows和Linux。这与在Windows下运行VM略有不同。

#4


-1  

Externally, I have received a recommendation for EngineYard.com as an outstanding RoR environment and will ultimately consider it as my primary development/migration/production environment.

在外部,我收到了EngineYard.com作为优秀RoR环境的建议,并最终将其视为我的主要开发/迁移/生产环境。

I have a working Debian system now and am building it out as a local RoR environment. It just seems to be right for a serious RoR development environment. I will go there as soon as it is fully built out because RoR is just meant for UNIX.

我现在有一个正在运行的Debian系统,并将其构建为本地RoR环境。它似乎适合严肃的RoR开发环境。因为RoR只适用于UNIX,所以我会在完全构建后立即去那里。

However, at least temporarily, I have found that RubyStack is a seriously usable Windows RoR development environment. It is 100% usable as a standalone system that doesn't require UNIX-style environments shoehorned onto Windows. Trying to run UNIX on Windows was a constant source of frustration, so this meets my immediate needs.

但是,至少暂时,我发现RubyStack是一个非常有用的Windows RoR开发环境。它100%可用作独立系统,不需要在Windows上使用UNIX风格的环境。尝试在Windows上运行UNIX是一个令人沮丧的持续来源,因此这符合我的直接需求。

#1


6  

I highly recommend Vagrant. I use this to do development on my Windows systems.

我强烈推荐Vagrant。我使用它在我的Windows系统上进行开发。

#2


3  

As you found out, Windows is terrible for RoR development. Your best option would be to use a VM like VirtualBox to run a Linux/Unix instance. There are other VM options, but VirtualBox is free.

正如您所知,Windows对于RoR开发来说非常糟糕。您最好的选择是使用像VirtualBox这样的VM来运行Linux / Unix实例。还有其他VM选项,但VirtualBox是免费的。

Failing that, just convert once of your boxes to Linux/Unix. For development it does not matter one bit if it is a workstation or a server.

如果做不到这一点,只需将您的一次盒子转换为Linux / Unix即可。对于开发来说,如果它是工作站或服务器则无关紧要。

#3


3  

Mac OSX

The unofficial standard for RoR production is Linux, but for development it is Mac OSX. There has been a big migration of developers to the Apple platform that has been going on for many years now.

RoR生产的非官方标准是Linux,但对于开发来说,它是Mac OSX。开发人员大量迁移到Apple平台已经持续了很多年。

It gives you the best of both worlds: it is Unix underneath but it's also a commercial platform, a polished UI, and an available software ecosystem.

它为您提供了两全其美:它是Unix下面的,但它也是一个商业平台,一个优秀的用户界面和一个可用的软件生态系统。

Yes, it's expensive, but people should ask themselves, why are people willing to pay so much? If you can afford 10 boxes for Windows, how about finding $ for one Mac? Then, you will have not just a workable RoR environment, but the best.

是的,它很贵,但是人们应该问问自己,为什么人们愿意支付这么多钱?如果你可以买10个Windows的盒子,如何为一台Mac找到$?那么,你将不仅仅是一个可行的RoR环境,而是最好的环境。

Or go VM

But if you don't take that advice, you may want to install a Hypervisor like Xen or XenServer for free, and then you can run both Windows and Linux on the same machine. This is slightly different than running a VM under Windows.

但是如果你不采纳这个建议,你可能想要免费安装Xen或XenServer之类的Hypervisor,然后你就可以在同一台机器上同时运行Windows和Linux。这与在Windows下运行VM略有不同。

#4


-1  

Externally, I have received a recommendation for EngineYard.com as an outstanding RoR environment and will ultimately consider it as my primary development/migration/production environment.

在外部,我收到了EngineYard.com作为优秀RoR环境的建议,并最终将其视为我的主要开发/迁移/生产环境。

I have a working Debian system now and am building it out as a local RoR environment. It just seems to be right for a serious RoR development environment. I will go there as soon as it is fully built out because RoR is just meant for UNIX.

我现在有一个正在运行的Debian系统,并将其构建为本地RoR环境。它似乎适合严肃的RoR开发环境。因为RoR只适用于UNIX,所以我会在完全构建后立即去那里。

However, at least temporarily, I have found that RubyStack is a seriously usable Windows RoR development environment. It is 100% usable as a standalone system that doesn't require UNIX-style environments shoehorned onto Windows. Trying to run UNIX on Windows was a constant source of frustration, so this meets my immediate needs.

但是,至少暂时,我发现RubyStack是一个非常有用的Windows RoR开发环境。它100%可用作独立系统,不需要在Windows上使用UNIX风格的环境。尝试在Windows上运行UNIX是一个令人沮丧的持续来源,因此这符合我的直接需求。

相关文章