[英]Open a Grails project using TextMate
I have created a simple grails application. 我创建了一个简单的grails应用程序。 When i
ls
the folder the following is what i get: 当我
ls
文件夹时,我得到的是:
Ma-MacBook-Pro:library ma$ ls
application.properties lib test
grails-app scripts web-app
grailsw src wrapper
grailsw.bat target
Now i want to open this project in TextMate so i can edit it. 现在,我想在TextMate中打开此项目,以便我可以对其进行编辑。 When i type
mate .
当我输入
mate .
it says -bash: mate: command not found
. 它说
-bash: mate: command not found
。
The TextMate version i am using is TextMate version 2.0-alpha.9501
. 我正在使用的
TextMate version 2.0-alpha.9501
是TextMate version 2.0-alpha.9501
。 My OS is OS X 10.9
. 我的操作系统是
OS X 10.9
。 Can some one tell me how i could open the project in TextMate 有人可以告诉我如何在TextMate中打开项目吗
You have to install shell support first. 您必须先安装外壳支持。
Open the Preferences, click on the tab named "Terminal". 打开“首选项”,单击名为“终端”的选项卡。 There's a little "Install" button.
有一个小的“安装”按钮。
If it does not work afterwards, your shell is misconfigured and you should add /usr/local/bin to your PATH environment variable. 如果此后仍不起作用,则说明您的shell配置错误,应将/ usr / local / bin添加到PATH环境变量中。
Not really a programming question... Anyway, here goes: 并不是一个真正的编程问题...无论如何,这里是这样:
mate
is not on your PATH. mate
不在您的PATH上。 What does which mate
return? which mate
返回什么? (I'm guessing nothing...) open
command. open
命令打开图形* .app应用程序(例如TextMate)。 Try open /Applications/TextMate.app/ .
open /Applications/TextMate.app/ .
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.