将macruby安装到特定目录?

发布于 2024-08-02 20:25:40 字数 80 浏览 4 评论 0原文

通常,macruby 希望通过“rake install”安装到 /usr/local,

我希望将其安装在另一个位置。我该怎么做?

Normally macruby wants to install to /usr/local via 'rake install'

I want it in another location. How do I do this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

挖个坑埋了你 2024-08-09 20:25:40

运行 rake -T 给出了选项(呃,愚蠢的我)

它告诉我

rake install sym_instdir=/some/place

这是安装到另一个目录的技巧,这实际上是有效的。

编辑:我说得太早了。

这使得符号链接,但也有framework_instdir选项,但改变它似乎没有任何区别......

Running rake -T gives the options (duh, stupid me)

It tells me

rake install sym_instdir=/some/place

Is the trick to install to another directory and this does in fact work.

EDIT: I spoke too soon.

This makes the symlinks, but there is the framework_instdir option as well, but changing that doesn't seem to make any difference...

口干舌燥 2024-08-09 20:25:40
$ DESTDIR = /some/place rake install

查看每晚构建的 rake 任务以获得更具体的示例。

  • 马特
$ DESTDIR = /some/place rake install

Look at the nightly built rake task for a more concrete example.

  • Matt
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文