我跑了
Matthews-iMac:~ mattbtay2$ sudo gem install bourbon
Password:
Fetching: bourbon-4.0.2.gem (100%)
Successfully installed bourbon-4.0.2
Parsing documentation for bourbon-4.0.2
Installing ri documentation for bourbon-4.0.2
1 gem installed
但是当试图将波本威士忌添加到项目中时:
Matthews-iMac:bourb mattbtay2$ bourbon install
Matthews-iMac:bourb mattbtay2$
不确定为什么没有发生任何事情。我可以安装Neat,Bitters就好了。我跑的时候
bourbon -h
我得到了
Matthews-iMac:bourb mattbtay2$ bourbon -h
Usage: bourbon [options] [command]
Commands:
new <path>
run [options] [path]
Options:
-h, --help output usage information
-V, --version output the version number
我甚至没有看到安装命令。我错过了什么吗?
答案 0 :(得分:1)
版本4.0.2应该给你这个回复:
[~/Code/bourbon-test] gem install bourbon
Successfully installed bourbon-4.0.2
1 gem installed
[~/Code/bourbon-test] bourbon -h
Commands:
bourbon help [COMMAND] # Describe available commands or one specific command
bourbon install # Install Bourbon into your project
bourbon update # Update Bourbon
bourbon version # Show Bourbon version
看起来波旁没有使用&#34; new&#34;并且&#34;运行&#34;在很长的时间。也许它由于某种原因没有更新可执行文件。再次尝试gem uninstall bourbon
和gem install bourbon
。