我的RVM以root用户身份安装.
当我试图启动独角兽插座时,它会打印出来
当我试图启动独角兽插座时,它会打印出来
user@9001-3:~$/etc/init.d/unicorn start Starting myapp app: /usr/bin/env: ruby: No such file or directory unicorn.
但如果我打字
user@9001-3:~$ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
/usr/local/rvm/gems/ruby-1.9.2-p180/bin/unicorn路径存在.
我的独角兽配置:https://gist.github.com/1010519