I'm having trouble looking up documentation for Ruby in Textmate. I installed Ruby 1.9.1 to /usr/local/bin but when I use Ctrl+H
to lookup a word using the Ruby bundle I get this error:
/Users/joshuaaburto/Library/Application Support/TextMate/Pristine Copy/Support/lib/web_preview.rb:101: warning: mismatched indentations at 'end' with 'if' at 98 /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:661:in
initialize': Permission denied - /Users/joshuaaburto/.ri/cache/ActionController-Base (Errno::EACCES) from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:661:in
open' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:661:inwrite_cache' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:507:in
create_cache_for' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:469:inload_cache_for' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:648:in
block (2 levels) in select_methods' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:647:ineach' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:647:in
grep' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:647:inblock in select_methods' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:646:in
each' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:646:inselect_methods' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:624:in
block in run' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:590:ineach' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:590:in
run' from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:300:inrun' from /usr/local/bin/ri:5:in
'
Could anyone advise me on how to properly edit the RI permissions or the Ruby textmate bundle in order to use the documentation feature?