Hi,
I've just installed textmate (version 2.0-alpha.9515) on a mac running OS X Version 10.8.5.
Whenever I execute a command written in Ruby in textmate (for example, Duplicate Line, or Typeset & View in the Latex bundle), I obtain an error. The error message is
Failure running “Duplicate Line / Selection”. Duplicate Line / Selection:9:in `join': can't convert nil into String (TypeError) from Duplicate Line / Selection:9
in the first case and
Failure running “Typeset & View (PDF)”. Typeset & View (PDF):4: undefined method `+' for nil:NilClass (NoMethodError)
in the second case. This occurs both with keyboard shortcuts and when selecting the command from a menu. Snippets and other shortcuts work.
I don't use Ruby (I use textmate mainly for Latex), so I'm a bit of a loss here. Any help would be appreciated. I searched for posts on similar problems but didn't find any.
Best,
Markus
On Mar 10, 2014, at 1:48 PM, Markus Poschke, Prof. markus.poschke@mcgill.ca wrote:
Failure running “Duplicate Line / Selection”. Duplicate Line / Selection:9:in `join': can't convert nil into String (TypeError) from Duplicate Line / Selection:9
The implication here is that ENV["TM_SUPPORT_PATH"] is failing (returning nil). But I don't know why it would do that. m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Thanks for your reply, you got me on the right path. I found this:
https://github.com/textmate/source.tmbundle/issues/9
and the first reply on that thread also applied to my issue. I did have the Bundle support bundle installed, but uninstalling and reinstalling it fixed my issue.
Best,
Markus
On Mar 10, 2014, at 5:53 PM, Matt Neuburg matt@tidbits.com wrote:
On Mar 10, 2014, at 1:48 PM, Markus Poschke, Prof. markus.poschke@mcgill.ca wrote:
Failure running “Duplicate Line / Selection”. Duplicate Line / Selection:9:in `join': can't convert nil into String (TypeError) from Duplicate Line / Selection:9
The implication here is that ENV["TM_SUPPORT_PATH"] is failing (returning nil). But I don't know why it would do that. m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Excellent! I *thought* it might be a bundle installation problem, but I had no other clue. Very well done. m.
Sent from my iPhone but I am not a dork
On Mar 10, 2014, at 7:22 PM, Markus markus.poschke@mcgill.ca wrote:
Thanks for your reply, you got me on the right path. I found this:
https://github.com/textmate/source.tmbundle/issues/9
and the first reply on that thread also applied to my issue. I did have the Bundle support bundle installed, but uninstalling and reinstalling it fixed my issue.
Best,
Markus
On Mar 10, 2014, at 5:53 PM, Matt Neuburg matt@tidbits.com wrote:
On Mar 10, 2014, at 1:48 PM, Markus Poschke, Prof. markus.poschke@mcgill.ca wrote:
Failure running “Duplicate Line / Selection”. Duplicate Line / Selection:9:in `join': can't convert nil into String (TypeError) from Duplicate Line / Selection:9
The implication here is that ENV["TM_SUPPORT_PATH"] is failing (returning nil). But I don't know why it would do that. m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
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