Hi - I get the following error when I run “ri” command.
I’m using Mac OS X Snow Leopard. I installed Ruby with MacPorts.
/opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/ri/driver.rb:405:in
initialize': Permission denied - /Users/jon/.ri/cache/.doc_dirs (Errno::EACCES) from /opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/ri/driver.rb:405:in
open’
from
/opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/ri/driver.rb:405:in
create_class_cache' from /opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/ri/driver.rb:389:in
class_cache’
from
/opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/ri/driver.rb:474:in
display_name' from /opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/ri/driver.rb:787:in
run’
from
/opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/ri/driver.rb:786:in
each' from /opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/ri/driver.rb:786:in
run’
from
/opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/lib/rdoc/ri/driver.rb:315:in
run' from /opt/local/lib/ruby/gems/1.8/gems/rdoc-2.3.0/bin/ri:5 from /opt/local/bin/ri:19:in
load’
from /opt/local/bin/ri:19
Can anybody help solve this issue?
-jon