简体   繁体   English

如何在Mac OS X Mavericks上安装Unicorn

[英]How to install Unicorn on Mac OS X Mavericks

I´m trying to install Unicorn server on my Mac with OS X Mavericks. 我试图在Mac OS X Mavericks上安装Unicorn服务器。

Every post explain the same, looks pretty simple, however is not working for me. 每个帖子都解释相同,看起来很简单,但是对我不起作用。 I install the gem. 我安装了宝石。 But after that, I can´t run unicorn neither unicorn_rails because the files are not found. 但是在那之后,因为找不到文件,所以我无法再运行unicorn或unicorn_rails。

See some logs: 查看一些日志:

gem install unicorn



Building native extensions.  This could take a while...
Successfully installed unicorn-4.8.3
Parsing documentation for unicorn-4.8.3
Installing ri documentation for unicorn-4.8.3
Done installing documentation for unicorn after 0 seconds
1 gem installed

unicorn_rails
-bash: unicorn_rails: command not found

Fixed. 固定。

I just needed to restart the laptop. 我只需要重新启动笔记本电脑即可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM