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
Sean,
I see that you're using a very old version of RubyMate. Are you using an SVN checkout of the Ruby bundle? If so, updating should fix your problem.
- Alex
On Jan 4, 2007, at 10:21 AM, Sean Hussey wrote:
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
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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,
I see that you're using a very old version of RubyMate. Are you using an SVN checkout of the Ruby bundle? If so, updating should fix your problem.
- Alex
On Jan 4, 2007, at 10:21 AM, Sean Hussey wrote:
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
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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:
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,
I see that you're using a very old version of RubyMate. Are you using an SVN checkout of the Ruby bundle? If so, updating should fix your problem.
- Alex
On Jan 4, 2007, at 10:21 AM, Sean Hussey wrote:
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
_
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you
don't)
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
That was it. 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:
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,
I see that you're using a very old version of RubyMate. Are you using an SVN checkout of the Ruby bundle? If so, updating should fix your problem.
- Alex
On Jan 4, 2007, at 10:21 AM, Sean Hussey wrote:
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
_
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you
don't)
_ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate