Cloud 9 IDE bash:钢筋:找不到命令

Cloud 9 IDE bash: rebar: command not found

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

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

我尝试了 rebar/rebar 和 ./rebar

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

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

手动安装 rebar

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

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