简体   繁体   English

在Ubuntu Hardy上手动编译Ruby 1.8.7

[英]manually compiling ruby 1.8.7 on ubuntu hardy

running two rails 2.3.8 apps on two virtual servers in ubuntu 8.04 with apache and passenger. 在ubuntu 8.04中的两个虚拟服务器上使用apache和passenger运行两个rails 2.3.8应用程序。 the ruby version is 1.8.6 红宝石版本是1.8.6

we are upgrading one of the apps to rails 3.0.4. 我们正在将其中一个应用程序升级到Rails 3.0.4。 my understanding is that we need ruby 1.8.7 to run the app. 我的理解是,我们需要ruby 1.8.7来运行该应用程序。 with this version of ubuntu we will need to compile ruby 1.8.7 manually. 使用此版本的ubuntu,我们将需要手动编译ruby 1.8.7。

  1. never compiled manually before. 从来没有手动编译过。 if you know of any resources i should check out that would be great. 如果您知道任何资源,我应该检查一下,那将是很好的。
  2. i have not been able to determine the version of passenger and am trying to make sure it will be compatible with rails 3.0.4. 我无法确定旅客的版本,并试图确保它与Rails 3.0.4兼容。 any suggestions? 有什么建议么?
  3. the application we are leaving in 2.3.8 is our core business application and i need to make sure i don't mess it up. 我们将在2.3.8中保留的应用程序是我们的核心业务应用程序,我需要确保自己不会搞砸。

Thanks! 谢谢!

Just use RVM . 只需使用RVM即可 Almost everybody use it now. 现在几乎每个人都在使用它。

Early Passenger versions for Apache had some bugs so my suggestion is to simply upgrade Passenger to the newest version. Apache的早期Passenger版本存在一些错误,因此我的建议是简单地将Passenger升级到最新版本。

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

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