Hi I have recently purchase a mac and am trying to get into rails, I
have managed to install ruby and rails and have the test screen
working using the Hivelogic article. I am now trying to follow the
screencast for the Flickr tutorial and have run into a few issue I
hope someone can help me with.
In the tutorial Textmate seems to have a lot of built in rails and
html css auto complete features such as putting in the doc type text
into the dhtml page. This does not happen on my version how do I
Also when I create a new document it is not displayed yet I get no
error message. When I went through the terminal typing mate
application.rhtml it was created though. Is this to do with user
permissions. I am a mac newbie I am affraid and was wondering if it is
to do with the mac user/security model??
This is a trial version BTW whilst I see if I like it or not
Some help please!
They are tab triggered, if you go to the dropdown menu that looks like
a little gear on the bottom bar of textmate you can see what all the
applicable ones for the current bundle are.
Make sure that your TM is selecting the Rails bundle, by looking at
the status bar on the bottom. If it’s not saying something like “HTML
(Rails)” to the left of the gear, try clicking whatever is in that
position, and see if the popup list has an item with this (or a
If you don’t see it, then go to the top menu and select “Bundles ->
Bundle editor” and when you get that, click on the “filter list” box.
This will let you see a list of bundles. Scroll until you find
something for Rails, and click that.
I think that once you do this once, you’ll get the Rails bundle
whenever you edit a Rails document.
I recommend TM very highly. I’ve been using it for over a year now.
I almost never drop back to Emacs and VI anymore, except when I’m
logging in to a machine through a terminal window. I use TM for all
my work, whether it be programming (with the Rails, C++, Make, R, etc,
modes) or writing (latex, markdown, etc., modes). A real strength of
TM, compared with Emacs, is the simplicity of its macro scheme … I
no longer have to impose on my lisp-expert friends when I need a macro.