简体   繁体   English

为TextMate安装RSpec捆绑软件

[英]Installing RSpec Bundle for TextMate

I am getting started with Ruby development and bought a MAC few days ago. 我刚开始进行Ruby开发,几天前购买了MAC。 I am having a hardtime installing the RSpec bundle on my TextMate. 我很难在我的TextMate上安装RSpec捆绑软件。 When I type the following command: 当我键入以下命令时:

John-Doe-MacBook-Pro:Users johndoe$ cd ~/Library/ApplicationSupport/TextMate/Bundles/ John-Doe-MacBook-Pro:用户johndoe $ cd〜/ Library / ApplicationSupport / TextMate / Bundles /

I get the following: 我得到以下内容:

-bash: cd: /Users/johndoe/Library/ApplicationSupport/TextMate/Bundles/: No such file or directory -bash:cd:/ Users / johndoe / Library / ApplicationSupport / TextMate / Bundles /:没有这样的文件或目录

Any idea what I am doing wrong? 知道我在做什么错吗?

First install git: http://git-osx-installer.googlecode.com/files/git-1.7.2-intel-leopard.dmg 首先安装git: http : //git-osx-installer.googlecode.com/files/git-1.7.2-intel-leopard.dmg

From the terminal: 从终端:

mkdir ~/Library/Application\ Support/TextMate
mkdir ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles/
git clone git://github.com/rspec/rspec-tmbundle.git RSpec.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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