[TxMt] RedCloth is not a class?

Jay Levitt lists-textmate at jay.fm
Tue Jan 12 01:17:13 UTC 2010


I'm trying to use the Textile bundle, but I get the following when I preview 
or render a textile doc:

/Users/jay/Library/Application Support/TextMate/Pristine 
Copy/Bundles/Textile.tmbundle/Support/lib/redcloth.rb:167: RedCloth is not a 
class (TypeError) from 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in 
`gem_original_require' from 
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require' from 
/tmp/temp_textmate.kg1pi6:6

I don't even know where to start troubleshooting.  I looked at the ruby 
version and path notes in the wiki, but they don't seem to apply here. I'm 
using:

OS X 10.6.2 (32-bit kernel)
TextMate build 1589
Latest (2009-11-13) Textile plugin from github, fetched with GetBundles
All other bundles updated with GetBundles

~% export | grep TM_
TM_SCRATCH_DIRECTORY='/Users/jay/Library/Application 
Support/TextMate/Scratch Files'
~% which gem
/usr/bin/gem
~% which ruby
/usr/bin/ruby
~% gem --version
1.3.5
~% ruby --version
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
~% echo $PATH
/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/X11/bin:/Users/jay/bin
~% gem list | grep Cloth
RedCloth (4.2.2, 4.2.1, 4.2.0, 4.1.9, 4.0.3, 4.0.2, 4.0.1)
~% gem environment
RubyGems Environment:
   - RUBYGEMS VERSION: 1.3.5
   - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
   - INSTALLATION DIRECTORY: /Library/Ruby/Gems/1.8
   - RUBY EXECUTABLE: 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
   - EXECUTABLE DIRECTORY: /usr/bin
   - RUBYGEMS PLATFORMS:
     - ruby
     - universal-darwin-10
   - GEM PATHS:
      - /Library/Ruby/Gems/1.8
   - GEM CONFIGURATION:
      - :update_sources => true
      - :verbose => true
      - :benchmark => false
      - :backtrace => false
      - :bulk_threshold => 1000
      - "gempath" => ["/Library/Ruby/Gems/1.8"]
      - "gem" => "--no-ri --no-rdoc"
      - :sources => ["http://gems.rubyforge.org/", "http://gems.github.com"]
   - REMOTE SOURCES:
      - http://gems.rubyforge.org/
      - http://gems.github.com



More information about the textmate mailing list