标签: ruby-on-rails ruby rbenv
我现在使用rbenv一段时间,每次运行ruby命令或启动rake任务时,我都会开始收到此警告:
/Users/.../.rbenv/shims/ruby: line 1: ge#!/usr/bin/env: No such file or directory
或
/Users/.../.rbenv/shims/rake: line 1: ge#!/usr/bin/env: No such file or directory
当然,/usr/bin/env确实存在且有效。
/usr/bin/env