简体   繁体   English

哪个选项更好? 使用centos软件包中的旧版本的ruby或使用手动安装的最新版本

[英]Which option is better ? use the old version of ruby from centos packages or use a the newest installed manually

Now i'm starting a new project on rails, but the packages for ruby from CentOs corresponds to an older version, so i decided to install the latest version manually. 现在,我在Rails上开始一个新项目,但是来自CentOs的ruby软件包与旧版本相对应,因此我决定手动安装最新版本。 is this a good idea for a production enviroment?, considering the maintanability problems that comes without using the version from CentOs. 考虑到未使用CentOs版本的可维护性问题,这对于生产环境是一个好主意吗? I have searched and i've found some discussions about this issue http://lwn.net/Articles/423732/ . 我进行了搜索,发现了有关此问题的一些讨论http://lwn.net/Articles/423732/ But i haven't found yet a good answer to this problem. 但是我还没有找到解决这个问题的好方法。

Any help? 有什么帮助吗? Thanks!. 谢谢!。

您应该使用生产环境中使用的相同版本的Ruby进行开发,并且应该使用RVM在开发计算机上管理该版本的Ruby。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM