> I think I'm in that early stage where there are one or two key things I
> don't know. The alternative is that I'm hopeless. :)
Hehe in the early stages you probably won't even seeing the edges. :) I
recommend reading all the documentation about Projects, Snippets and
Language Grammars a few times, as well as installing the GetBundles bundle.
Also, press ctrl+opt+cmd+K to bring up a fat menu of keyboard shortcuts.
I'd also read the keyboard shortcut documentation because the shortcuts are
somewhat organized according to their functions (for example,
shift+ctrl+opt+<letter> type shortcuts are used to switch your current
And of course feel free to ask the list, people here are more than happy to
Le 22 août 11 à 22:13, RonJeffries a écrit :
> Hi Michèle, Thanks ...
> On Aug 22, 2011, at 3:31 PM, Michèle Garoche wrote:
>> I suggest you remove the texmate.pid file. It seems to me that it
>> is a sign of something gets wrong.
>> Next, use the second receipt on the page (the one with git clone).
>> You have to create the Bundles folder if it does not exist.
>> Once it is created, just reload the bundles via Bundles menu,
>> Bundle editor, Reload Bundles.
> Ah. I was expecting to find many bundles already there. Creating and
> doing a suitable git seems to have installed the rspec bundle. Thanks.
No the bundles provided by Textmate about of the box are in /
Applications/Textmate/Contents/SharedSupport/Bundles. You may see them
by right clicking on Textmate in the Applications folder and choose
something like "Display package content" (roughly translated from
The ones under ~/Library/Application Support/Texmate/Bundles are the
bundles that you install yourself, kind of extensions of the original
This is the same logic for a number of applications on Mac OS X.
> Now ... when I %R it, I am getting a message `require': no such file
> to load
> which I take to mean that under TextMate, it's not looking in the
> right place for the gem. It runs correctly under terminal, when I
> just do rspec first_spec.rb at the prompt.
> Yet TextMate is not finding rspec ... a pathing issue? Advise me
> please. Thanks,
First try this:
Open whichever file in your project. Select a folder which has tests
in it. Choose Bundles, Rspec, Run Examples in selected files/
If you want to run a single file, first change the type of the file in
the status bar at the bottom (just after Line:xx Column:yy) to Rspec,
then you can apply cmd-R.
The same applies for a single example, you have to ensure the type of
the file is Rspec before running the spec.
See in Bundle Rspec the various commands.
In case this does not work, you may have to declare the ruby path in
I've installed mine with rvm, so the ruby path is given to Textmate in
Textmate/Preferences/Advanced/Shell Variables like this:
TM_RUBY as variable /Users/whatever/.rvm/bin/rvm-auto-ruby
You have to adapt it to your local installation.
If you have not install ruby with rvm, you should probably (I'm not
sure here) initialize the ruby path in ~/.profile or equivalent. Sorry
I cannot remember how I did it long times ago before rvm appears.
Hope it helps.
> Ron Jeffries
> I try to Zen through it and keep my voice very mellow and low.
> Inside I am screaming and have a machine gun.
> Yin and Yang I figure.
> -- Tom Jeffries
Absolute noob here. New to Mac and to TextMate. Have and am reading the Prag TextMate book. Feel free to send me to a link or such.
I'm trying to run an rspec test under TextMate. I have the rspec gem installed and the test runs under Terminal. Does not run under TextMate, with the require failing. I assume I am missing some path setting or the like in TextMate but can't work out what it is.
I'm told there is an rspec bundle that should "solve" this. I tried what's on this page:
http://rspec.info/documentation/tools/extensions/editors/textmate.html to no avail.
I can't find the rspec bundle on RubyForge and when I try the second suggestion on that page, namely cd ~/Library/Application\ Support/TextMate/Bundles/, I find no Bundles folder under the TextMate folder, just a file, textmate.pid.
I think I'm in that early stage where there are one or two key things I don't know. The alternative is that I'm hopeless. :)
Suggestions welcome. Thanks!
I try to Zen through it and keep my voice very mellow and low.
Inside I am screaming and have a machine gun.
Yin and Yang I figure.
-- Tom Jeffries
I cannot get TextMate to recognize my git installation
1) Git is installed in the /usr/local/git/bin/git directory
2) I've set up the Shell Variable of TM_GIT to "/usr/local/git/bin/git"
3) I've turned off the PATH variable, as well
But when I try to install a bundle with GetBundles through GitHub, I still
receive the same error. Here's an example:
8/21/2011 18:34:40 TextMate[GetBundles]
Could not install “PHP Drupal” by using
sh: git: command not found
Any assistance is appreciated
View this message in context: http://old.nabble.com/TextMate-cannot-find-use-git-tp32307720p32307720.html
Sent from the textmate users mailing list archive at Nabble.com.
Is there a way to refresh an open file in case the file was changed outside of TextMate?
I use the R Console Bundle and there I have the option to execute R-code and the output is written into another file.
Now I have to reopen this particular file in order to see the changes.
(so I have my script-file open, execute some commands and the output is written to another file (r_res) – but I don't see the newly generated output If this file is already opened– I have to close and reopen r_res to see the newest output generated)
It would be really nice if I could tell TextMate to 'refresh' that file because I know that something was changed in the meantime.
I hope someone understands my problem ;),
I have written a bundle (a macro actually) that edits a file by
finding/replacing characters. However I want to add the functionality for it
to also delete the last character of each line of the document. I tried
using the command moveToEndOfParagraph and DeleteBackward, but it only
deletes the last character of the last line of the document. What command(s)
would I use for the macro to delete the last character of every line? The
number of lines in the document will vary, so I cannot put a hard line count
into the macro.
Thank you for your help.
View this message in context: http://old.nabble.com/Need-help-editing-a-bundle-tp32266863p32266863.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi, I'm a fairly new user to TextMate and love it, in particular the TODO
Is there any way to make it recognize TODO's across entire projects (tmproj
I often note them down but as often I forget where I put them.
Best regards / Med vennlig hilsen
Thor Erik Lie
I use textmate latex bundle with PDFView to write my documents.
Everything went fine before yesterday ....
I got my registration number and registered my copy of textmate (1.5.10,
1631). Then when I type 'cmd-R' and click the button 'View in PDFView',
things happened, the error massage is:
check_open: Application appears not to understand request
tell application "PDFView" display tex line 5 of file "duvrr_Abeta.pdf"
Found 0 errors, and 0 warnings in 0 runs
and PDFView also prompts an error with a new window：
The document couldn't be loaded
The document file://localhost/xxx.pdf couldn't be loaded
but it does opens the desired pdf file
I also changed to 'view in TextMate' or 'view in Preview', they are all
right. Only PDFView is in trouble ...
Could you please tell me how to fix it?