>From the newbie corner...In the demo video our illustrious Rails guru summons textmate with "e ." from the command line, magically opening textmate within the context of the respective rails app. I downloaded textmate, love it, but want to know how to make the same magic happen from the command line, rather than having to open the app via gui in the Applications folder. Thanks. -- ~~~~~~~~~~~~~~~~~~~ D''Andrew "Dave" Thompson http://dathompson.blogspot.com
Try "mate ." in your project directory. On 11/8/05, D''Andrew Dave Thompson <dandrew.thompson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > >From the newbie corner... > > In the demo video our illustrious Rails guru summons textmate with "e > ." from the command line, magically opening textmate within the > context of the respective rails app. > > I downloaded textmate, love it, but want to know how to make the same > magic happen from the command line, rather than having to open the app > via gui in the Applications folder. > > Thanks. > > -- > ~~~~~~~~~~~~~~~~~~~ > D''Andrew "Dave" Thompson > http://dathompson.blogspot.com > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Go to the help menu in TextMate and select "Terminal Usage...". Select the location where you would like the symbolic link to the mate command to be created, then click "Create Link". Once this is done, you can type "mate ." in your project directory, or "mate -h" for more options. Cheers, Mark On 11/8/05, Adam Roth <adamjroth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try "mate ." in your project directory. > > > > On 11/8/05, D''Andrew Dave Thompson <dandrew.thompson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > >From the newbie corner... > > > > In the demo video our illustrious Rails guru summons textmate with "e > > ." from the command line, magically opening textmate within the > > context of the respective rails app. > > > > I downloaded textmate, love it, but want to know how to make the same > > magic happen from the command line, rather than having to open the app > > via gui in the Applications folder. > > > > Thanks. > > > > -- > > ~~~~~~~~~~~~~~~~~~~ > > D''Andrew "Dave" Thompson > > http://dathompson.blogspot.com > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
Ah...I just found the magic...I needed to have Textmate create a link in my path for me. Using Textmate 1.1b17 1. In the Menu select Help > Terminal Usage... 2. Select the location to create a terminal link. 3. Select the "Create Link" button. Then from your project directory type "mate ." at the command line (thanks Adam) and watch the magic happen just like the video. On 11/8/05, Adam Roth <adamjroth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Try "mate ." in your project directory. > > > > On 11/8/05, D''Andrew Dave Thompson <dandrew.thompson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > >From the newbie corner... > > > > In the demo video our illustrious Rails guru summons textmate with "e > > ." from the command line, magically opening textmate within the > > context of the respective rails app. > > > > I downloaded textmate, love it, but want to know how to make the same > > magic happen from the command line, rather than having to open the app > > via gui in the Applications folder. > > > > Thanks. > > > > -- > > ~~~~~~~~~~~~~~~~~~~ > > D''Andrew "Dave" Thompson > > http://dathompson.blogspot.com > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- ~~~~~~~~~~~~~~~~~~~ D''Andrew "Dave" Thompson http://dathompson.blogspot.com