简体   繁体   中英

Could not load ruby textmate?

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.

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