Hi everyone,
I'm trying to run a ruby script via Cmd-R, and I get this error:
RubyMate r6189 running Ruby r1.8.4 (/usr/local/bin/ruby)
symlink_dotfiles.rb
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:39:in `filter_stdout': undefined method `test_script?' for nil:NilClass (NoMethodError) from /Users/sean/Library/Application Support/TextMate/Support/lib/scriptmate.rb:59:in `emit_html' from /Users/sean/Library/Application Support/TextMate/Support/lib/scriptmate.rb:53:in `emit_html' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:73
The script runs fine in the shell, using the same ruby executable. Any idea where something went wrong?
Thanks!
Sean
Ooh, yes, I was. I removed those, though, and restarted TextMate. Still the same error. The only Bundles I can see now are in the TextMate application bundle.
I use GetBundle to update my bundles. Is that an issue?
Thanks!
Sean
On 1/4/07, Alexander Ross alex.j.ross@gmail.com wrote:
Sean,
Looking at the log you pasted, I see that you are using the RubyMate from TextMate.app, but you have your own Support directory. These are probably out of sync. You need to either get rid of your copy of the support dir, (it's in "~/Application Support/TextMate"), or make sure you have the latest copies of the support dir and the ruby bundle.
– Alex
On Jan 4, 2007, at 12:24 PM, Sean Hussey wrote: