在Ubuntu 16.04上安装Vapor Toolbox

wbr*_*tra 6 ubuntu ubuntu-16.04 vapor

我正在使用Ubuntu 16.04并且无法遵循Vapor Toolbox的安装指南.我使用了指南中描述的swiftenv,并安装了Swift的Ubuntu 15.10版本,但是尝试安装工具箱会导致以下结果:

$ curl -sL toolbox.vapor.sh | bash
?  Compatible
Downloading...
Compiling...
<unknown>:0: error: build had 1 command failures
error: exit(1): /home/william/.swiftenv/versions/DEVELOPMENT-SNAPSHOT-2016-09-06-a/usr/bin/swift-build-tool -f /home/william/workspace/.vapor-toolbox-0.10.2/vapor-toolbox/.build/release.yaml
Installing...
bash: line 24: .build/release/Executable: No such file or directory
Use vapor --help and vapor <command> --help to learn more.
Run Code Online (Sandbox Code Playgroud)

尝试'蒸汽'会导致:

$ vapor
vapor: command not found
Run Code Online (Sandbox Code Playgroud)

tan*_*101 0

这个问题应该在最新版本的工具箱中得到解决。

安装与

brew install vapor/tap/toolbox
Run Code Online (Sandbox Code Playgroud)

或者

curl -sL toolbox.vapor.sh | bash
Run Code Online (Sandbox Code Playgroud)