本文介绍了在 debian Squeeze 上安装 RoR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法在我的 debian 挤压机上安装 Ruby 1.9.2 或 1.8.7 + Rails 3?
is there any way to install Ruby 1.9.2 or 1.8.7 + Rails 3 on my debian squeeze?
推荐答案您可能不想在生产机器上使用 RVM.它的 $PATH 魔法会在不明显的地方中断(例如 cron 作业),而且你会遇到麻烦.
You probably don't want to use RVM on a production machine. Its $PATH magic will break in non-obvious places (e.g. cron jobs), and you'll be up a creek.
您可以简单地从源代码构建并使用 checkinstall 为自己创建一个 .deb.这是 Ubuntu 教程应该可以很好地翻译成 debian.
You could simply build from sources and use checkinstall to create a .deb for yourself. Here's a tutorial for Ubuntu that should translate pretty well into debian.
更多推荐
在 debian Squeeze 上安装 RoR
发布评论