[MacRuby-devel] [MacRuby] #642: Macri fails on first run -- permissions problem -- creating the cache
MacRuby
ruby-noreply at macosforge.org
Tue Mar 30 10:14:19 PDT 2010
#642: Macri fails on first run -- permissions problem -- creating the cache
---------------------------+------------------------------------------------
Reporter: joda@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
---------------------------+------------------------------------------------
Recently installed 0.5 on Snow Leopard.
First time I tried to run macri I got the following:
core:in `open:': Permission denied - open() failed (Errno::EACCES)
from
/Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/1.9.0/rdoc/ri/driver.rb:383:in
`create_class_cache'
from
/Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/1.9.0/rdoc/ri/driver.rb:348:in
`class_cache'
from core:in `each'
from
/Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/1.9.0/rdoc/ri/driver.rb:591:in
`run'
from
/Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/ruby/1.9.0/rdoc/ri/driver.rb:303:in
`run:'
from /usr/local/bin/macri:3:in `<main>'
I guessed the problem was permissions, and reran the command under sudo.
This time the response was:
Updating class cache with 1317 classes...
----------------------------------------------------
and then the documentation.
Seems like the installation needs to create the directory for the cache,
or something -- the new user shouldn't be expected to recognize the
problem.
--
Ticket URL: <http://www.macruby.org/trac/ticket/642>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list