E
eepeterson
I'm getting the following error when I try to run 'ri' command. I'm
running on Snow Leopard if that helps at all.
/usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in `initialize':
Permission denied - /Users/erik_mbp/.ri/cache/.doc_dirs
(Errno::EACCES)
from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in `open'
from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in
`create_class_cache'
from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:371:in `class_cache'
from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:591:in `block in
run'
from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:590:in `each'
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:in `run'
from /usr/local/bin/ri:5:in `<main>'
ANy ideas on how I can fix this?
running on Snow Leopard if that helps at all.
/usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in `initialize':
Permission denied - /Users/erik_mbp/.ri/cache/.doc_dirs
(Errno::EACCES)
from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in `open'
from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:384:in
`create_class_cache'
from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:371:in `class_cache'
from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:591:in `block in
run'
from /usr/local/lib/ruby/1.9.1/rdoc/ri/driver.rb:590:in `each'
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:in `run'
from /usr/local/bin/ri:5:in `<main>'
ANy ideas on how I can fix this?