Hi there.
I am getting an error when I try and use the Ruby on rails bundle in textmate.
When I'm in a class file and I select Bundles -> Ruby on rails -> Models ->
Show DB Schema for current class, the following error shows up in textmate:
/tmp/temp_textmate.01e34I:9: in 'require': No Such file to load -- /config/boot
(LoadError)
from /tmp/temp_textmate.01e34I:9:
from /tmp/temp_textmate.01e34I:9:in 'call'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:3
6:in 'call_with_progress'
...
...
...
I am using Mac OS X Version 10.4.11, Rails 2.02 and Ruby 1.8.6.
If anyone has an idea how I could fix this problem, I'd really appreciate it.
Thanks
Gerard
Hi all,
I know that I can use Ctrl-Shift-> to cycle amongst the various forms
of <% %>, but it only seems to work on my full-sized keyboard. What is
the equivalent keyboard combination on a PowerBook (G4)?
Thanks,
Ian.
--
Hello,
Somewhere I saw a video where after a cite command and some initial
characters ( \cite{con}) a BibDesk search is invoked to make the right
selection for publication.
How is this BibDesk-Search and Completion used within TextMate?
Thanks
Christian
Thank you Paul!
You were correct, my MacPorts installation seems to have messed up the
tr command.
By explicitly setting it to the OSX path (/usr/bin/tr) within the drag
command, it is now working correctly.
Cheers,
Matt
> Hi Matt,
>
> When I drag an image, whether it be from the filesystem or the project
> > drawer, I get strange output where the alt tag should start.
> >
> > <img src="building.jpg" border="0" width="200" height="438" tr:
> > range-endpoints of
> >
>
> Just for the record it's working fine here (10.5.2, latest TextMate
> (1464))
> , which suggests to me that you might be bumping into a non-standard
> "tr"
> utility. That's certainly the point at which the command looks to be
> breaking. The string that you're seeing inserted in place of the
> "alt" looks
> like it comes from a linuxy tr, rather than the built-in /usr/bin/
> tr : what
> do you get when you enter
>
> which tr
>
> and then hit control-r within TextMate? If it's something other than
> /usr/bin/tr you can either adapt your PATH (see the TM manual) or
> explicitly
> point at the built-in version of tr (or move the impostor out of the
> way).
> Anyway, it's just speculation, but hopefully it sets you on the right
> track...
>
> Cheers,
> Paul
Hi,
I've done a basic search on Google but can't find anything specific about a
problem I'm having with Textmate, namely handling large textfiles or
textfiles with long lines.
It's driving me nuts. I'm having to deal with XML and HTML files which have
been 'compacted' so there are no carriage returns / line feeds and I want to
tidy them up in TextMate so I can make then human readable but TextMate just
takes forever to load the files. TextPad on the PC has no problems, but I
didn't switch to Mac for my Windows colleagues to point and laugh! :) Seems
like a basic capability of text editor that TextMate just can't deal with.
Had this been noted before? Is there a fix in the pipeline?
Thanks,
Ian.
--
Ian Kershaw
Save paper and the environment. Don't print this email unless necessary.
If you do, print up to four pages on one sheet with free software FinePrint
http://www.fineprint.com/
The default block comment in the PHP bundle is:
/*
Comment...
Comment...
*/
The industry standard seems to be this:
/**
* Comment...
* Comment...
*/
How can I change this in TextMate?
Hi all,
My apologies if this is a known bug - but a search didn't turn up
anything.
When I drag an image, whether it be from the filesystem or the project
drawer, I get strange output where the alt tag should start.
For example:
<img src="building.jpg" border="0" width="200" height="438" tr: range-
endpoints of
I haven't changed this drag command at all, and am using the latest
nightly "bleeding edge" build.
Not that big a deal, just checking to see if anybody knows anything.
Cheers,
Matt
I really don't like when I get to the lowest part of the screen
(wrote more than one page).
Now I normally add many blank lines after and center the screen,
but this is not very smart, and I think the
smartest editor of the world shouldn't do dumb things like that...
Any other ways??
THanks
Hi,
I get the following strange error when using ctrl shift G on a markdown
document that is part of a local Git repository:
/tmp/temp_textmate.fN7vjq:26 in `open': No such file or directory -
pages (ErrnoENDENT)
from /tmp/temp_textmate.fN7vjq:26: in `entries'
from /tmp/temp_textmate.fN7vjq:26
The weird thing is that if I change the language from Markdown to plain
text everything works as expected---no error message and the Git menu
comes up. With Select Bundle Item (ctrl cmd T) I checked and the ctrl
shift G is not being used by any other bundle. Not sure what is going on.
Best, Mark
On Apr 25, 2008, at 1:28 AM, Allan Odgaard wrote:
> On 23 Apr 2008, at 17:57, Thomas Allen wrote:
>
>> […]
>> I can't find a resource of all TM env. vars, but the PHP comments
>> preference
>> includes values of /* and */ for TM_COMMENT_START_3 and
>> TM_COMMENT_END_3,
>> respectively. What var can define my block comments' body?
>
> The generic Toggle Comment command is not designed to support the
> configuration of such style. But it should be fairly simple to
> create an overload which is only active in PHP mode, you can even
> write it in PHP: http://ciaranwal.sh/2008/04/04/textmate-tip-using-php-for-commands
> :)
>
I found this snippet a while ago:
${TM_CURRENT_LINE/(.*\*\/$)|.*?(\/\*(?!.*\*\/)).*|.*/(?1:
:
(?2: )* )/}
Activation: ↩
Scope Selector: source.php comment.block
This one lines up your * but I'm sure you could modify it to left-
align them all.
itp