【问题标题】:Can't use TextMate git bundle since I installed rbenv由于我安装了 rbenv,因此无法使用 TextMate git bundle
【发布时间】:2012-04-24 13:34:35
【问题描述】:

由于我在 Mac OSX 上安装了 rbenv,并删除了原始 ruby​​ 版本,因此我无法使用 TextMate GIT 包。

我收到此错误:

 env: ruby: No such file or directory

看起来我在环境变量中丢失了一些参考。但是,我的 rbenv 全局版本看起来设置正常。有人可以帮忙吗?

【问题讨论】:

  • 删除了 Mac OS X 附带的ruby?这听起来是个非常糟糕的主意。也许它与 OS X 一起发布是有原因的,对吧?

标签: macos git textmate rbenv


【解决方案1】:

重新安装系统 Ruby 是个好主意。见:https://superuser.com/questions/171433/is-it-possible-to-reinstall-fix-mac-os-xs-system-ruby-without-doing-a-complete

如果您使用的是Textmate 2和rbenv,请正确配置:Configure Textmate 2 for rbenv

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-08-23
    • 1970-01-01
    • 1970-01-01
    • 2017-01-29
    • 2021-02-08
    • 1970-01-01
    • 2018-11-30
    相关资源
    最近更新 更多