When you execute a command, $PWD is '/', not the directory of the current file or project. So, assuming your preferred `rails' command is on your path, you'd need to have:
That doesn't really work. If I for instance want to run
"rails g model MyModel name:string"TextMate just bugs out with an error message.On Tue, Jan 18, 2011 at 10:08 PM, Dru Kepple <dru@summitprojects.com> wrote:
On Jan 18, 2011, at 11:54 AM, Mikael Henriksson wrote:You can press Control-R on any line to run that line of text on the command line.
The thing I hate the most about the otherwise great app is the possibility to run terminal (rails) commands from within Textmate.
Is that at all possible? It would save me loads of confusion switching between windows.
Mikael Henriksson
+dru
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate
_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate