【问题标题】:Cloud 9 IDE bash: rebar: command not foundCloud 9 IDE bash:rebar:找不到命令
【发布时间】:2016-02-27 00:27:30
【问题描述】:

我可以在本地安装 rebar、get-deps 和编译。在 C9 上,我执行完全相同的步骤,我得到 bash: rebar: command not found when doing rebar get-deps.

我的终端正在运行 -bash。不知道我还能做什么。

我试过 rebar/rebar 和 ./rebar

使用此钢筋版本:https://github.com/rebar/rebar

【问题讨论】:

    标签: installation cloud9-ide rebar


    【解决方案1】:

    使用sudo apt-get install rebar 安装钢筋,然后运行rebar

    【讨论】:

      【解决方案2】:

      手动安装钢筋

      git clone https://github.com/basho/rebar.git
      cd rebar && make
      

      它将生成一个 exec 文件:rebar。您可以将其复制到您的项目目录或/usr/local/bin

      【讨论】:

        猜你喜欢
        • 2018-06-05
        • 1970-01-01
        • 2019-03-07
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2020-03-07
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多