On OS X, after installing Ruby 1.9.3 and Rails 4.0.0 via RVM, I get this annoying message every time I open a new terminal window:
Unknown ruby interpreter version (do not know how to handle): textmate.
Could not load ruby textmate.
The message is in bright red, so it worries me. What can I do to fix it/get rid of it?
Thanks!
EDIT: As it turns out, the message stopped showing, but I can't recall what I did to make it stop.
检查rvm alias list default
或者你的shell初始化文件中有任何textmate
引用( ~/.bash_profile
, ~/.bashrc
或类似文件)
If you still can't find it, don't forget to look in:
/etc/profile
/etc/profile.d/*
This happened to me on a new server recently and it ended up being an rvm.sh
file in the /etc/profile.d/
directory. Easy to miss!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.