Ruby on Rails & Textmate

I’m new to textmate also and I was wondering how can you get it to
integrate with the Ruby on Rails.
I know there is like a “popout with navigation for the folders” - the
best way I can describe it.

How can I get this?

Also I have downloaded CocoaMySQL and I have MySQL installed, I am
trying to connect. I have not set up anything in MySQL yet (I have
installed the fix for Mac OS X). I assume that I just tell it to connect
to “localhost”

I don’t have a username or password?

At work I do a very little bit with Oracle… so maybe MySQL is similar
… would it have a configuration file?
Do I have to edit anything here to connect?

I do realise that this is the Ruby on Rails forum… but maybe someone
can help me?

Cheers

Shane K. wrote:

I’m new to textmate also and I was wondering how can you get it to
integrate with the Ruby on Rails.
I know there is like a “popout with navigation for the folders” - the
best way I can describe it.

How can I get this?

I’ll answer this part. Choose “New Project” from the File menu and go
from there…

jp

Jeff P. wrote:

Shane K. wrote:

I’m new to textmate also and I was wondering how can you get it to
integrate with the Ruby on Rails.
I know there is like a “popout with navigation for the folders” - the
best way I can describe it.

How can I get this?

I’ll answer this part. Choose “New Project” from the File menu and go
from there…

jp

Thanks!

On Jul 27, 2007, at 9:04 PM, Jeff P. wrote:

Shane K. wrote:

I’m new to textmate also and I was wondering how can you get it to
integrate with the Ruby on Rails.
I know there is like a “popout with navigation for the folders” - the
best way I can describe it.

How can I get this?

I’ll answer this part. Choose “New Project” from the File menu and go
from there…

Or, cd to your app dir in Terminal, and “mate .”

If you installed mySQL from the .dmg file, then your “default”
username and password is ‘root’ with no password on localhost. No
configuration needed usually.

If you compiled it, I’m not sure, but you could try connecting with
the same credentials and see what happens… :slight_smile:

–Jeremy

On 7/27/07, Shane K. [email protected] wrote:

installed the fix for Mac OS X). I assume that I just tell it to connect

Cheers

Posted via http://www.ruby-forum.com/.


http://www.jeremymcanally.com/

My free Ruby e-book:
http://www.humblelittlerubybook.com/book/

My blogs:

http://www.rubyinpractice.com/

There’s about an hour long peepcode screencast about using Textmate
with RoR that covers justa bout anything you could possibly imagine.
You might check it out. Made me want to buy a mac… :stuck_out_tongue:

On Jul 27, 4:53 pm, Shane K. [email protected]

While we’re on the subject of Rails and Textmate, does anyone have a
bundle recipe to trigger a ‘rake test’ without having to pick ‘test’
from the menu of allowed tasks? Really I’d like to be able to hit a
single keyboard shortcut and have it happen.

Failing that I’ll eventually get around to writing my own, but why
debug the newly reinvented wheel.

-faisal

Faisal N Jawdat wrote:

While we’re on the subject of Rails and Textmate, does anyone have a
bundle recipe to trigger a ‘rake test’ without having to pick ‘test’
from the menu of allowed tasks? Really I’d like to be able to hit a
single keyboard shortcut and have it happen.

We did this trick:

  • declare a keystroke, F5, that does nothing
  • set the keystroke to “save all files” first
  • run trigger.rb in a shell next to the editor (on another monitor)
  • trigger.rb detects when any file gets saved
  • the trigger doesn’t run test:recent. It uses test:svn_modified

http://groups.google.com/group/rubyonrails-talk/msg/91d25ae319db21b2

Failing that I’ll eventually get around to writing my own, but why
debug the newly reinvented wheel.

Ask, and ye shall be blogged!

http://phlip.eblogs.com/2007/01/02/growl-driven-development/


Phlip
http://www.oreilly.com/catalog/9780596510657/
“Test Driven Ajax (on Rails)”
assert_xpath, assert_javascript, & assert_ajax