Skip to content

Instantly share code, notes, and snippets.

@ndzj081221130
Created October 23, 2013 00:46
Show Gist options
  • Save ndzj081221130/7110673 to your computer and use it in GitHub Desktop.
Save ndzj081221130/7110673 to your computer and use it in GitHub Desktop.
stdin
> Written with [StackEdit](https://stackedit.io/).
`stdin:is not a tty`
try to solve
----------
将/root/.profile最后一行 mesg n改为tty -s && mesg n
果然错误木有了。
然后开始报错在执行/tmp/warden/container/179adihufv6/start.sh时,
>./net.sh第36行iptables命令找不到。
> 第140行tc命令找不到
wshd一堆一堆的,报错,在skeleton/setup.sh执行./net.sh和./wshd之前加上环境变量
----------
cf push download需要/usr/bin/ruby,而且需要的是1.9.3系统的
####apt-get只能安装1.9.1和1.8.7版本的,都不行
尝试用rbenv安装ruby1.9.3,并用符号连接到/usr/bin/ruby,
####`在ruby -v` 时,报错/dev/fd/62: No such file or direcotry,
因为warden文件系统的挂载有问题?
还是ruby安装的问题?
####因为github上也有人有类似的错误,不过是在Docker or FreeBSD系统上[wiki][1]
[1]: https://github.com/sstephenson/rbenv/wiki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment