Open EliW opened 11 years ago
I am getting the following error.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require': cannot load such file -- jcode (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require'
I have the same error @baluKanattil and applying the fix by @EliW does not work on Sierra. I hope someone can make a newer version that works.
I have the same issue
It's not needed in TextMate 2, as this feature is built-in.
⚙︎ (or Bundles) → TextMate → Copy Document as RTF (⌃⌥⌘C)
@rgov I don't see this option. Running TextMate 2.0-rc.10
@vegerot Don't know what to tell you though, it's in the source code. Make sure the "TextMate" bundle is enabled in Preferences.
Try using the Bundle Editor, TextMate → Menu Actions → Copy Document/Selection as RTF and make sure that "Enable this item" is checked. I'd also remove the two copy-with-style bundles you installed and make sure they're not conflicting.
I don't see that option there. But I do see a ruby script for it. I also removed those two bundles
Edit: Removing those two bundles fixed it. Thank you!!
The update to Mavericks made me switch to TextMate 2 ... and this was throwing lots of errors.
I fixed it, by updating line one to be:
!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -rjcode -Ku
I'd submit a pull request, but I'm unsure how you want to handle this Dr. Nic. IE: Is there a better fix that will make it Ruby 1.8 and Ruby 2.0 compatible? Do you just want to update this to be TextMate 2 / Ruby 2.0 compatible only now? Or do you want to actually make a separate bundle for each?