[TxMt] Ruby file tries to compiles as Xcode

Joseph Pecoraro joepeck02 at gmail.com
Tue Jan 29 01:24:14 UTC 2008


Try manually going up to Bundles > Ruby > Run to make sure that it is  
indeed performing the correct command-R hotkey.  If this manual  
selection shows the XCode error then your Ruby bundle command has  
probably changed.  You can check that by going through the following:

1) If you open up the Bundle Editor:
ctrl-alt-command-B or Bundles > Bundle Editor > Show Bundle Editor

2) In the top left the select list should have "Show All" then in the  
list expand Ruby and click Run and tell us what is in the right pane.

3) Make sure the scope (bottom right) looks something like:  
source.ruby - source.ruby.embedded

4) Tell us what the script in the right textarea has.

- Joe P

On Jan 28, 2008, at 8: 03PM, Matt Neuburg wrote:

> In a Ruby file, when I press command-R to run, about half the time I  
> get an
> error indicating that we tried to compile as an Xcode project and we  
> are not
> an Xcode project. Why is TextMate doing this and how can I prevent  
> it? The
> language thingy at the bottom says it's Ruby so clearly someone in  
> there
> knows it is; it just doesn't seem to be the same guy who responds to
> command-R. Thx. m.
>
> -- 
> matt neuburg, phd = matt at tidbits.com, <http://www.tidbits.com/matt/>
> A fool + a tool + an autorelease pool = cool!
> One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
> AppleScript: the Definitive Guide - Second Edition!
> <http://www.amazon.com/gp/product/0596102119>
>
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate




More information about the textmate mailing list