在 debian Squeeze 上安装 RoR [英] Install RoR on debian Squeeze

查看:27
本文介绍了在 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆