[MacRuby] #642: Macri fails on first run -- permissions problem -- creating the cache
#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/>
#642: Macri fails on first run -- permissions problem -- creating the cache ---------------------------+------------------------------------------------ Reporter: joda@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: worksforme Keywords: | ---------------------------+------------------------------------------------ Changes (by lsansonetti@…): * status: new => closed * resolution: => worksforme Comment: Can you retry this with 0.6 or trunk? macri works for me there. -- Ticket URL: <http://www.macruby.org/trac/ticket/642#comment:2> MacRuby <http://macruby.org/>
#642: Macri fails on first run -- permissions problem -- creating the cache ---------------------------+------------------------------------------------ Reporter: joda@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: worksforme Keywords: | ---------------------------+------------------------------------------------ Comment(by joda@…): Tested with 0.6. installed 0.6, invoked macirb (no sudo) it updated the class cache with 1324 classes. Assuming the cache location is not the same as it was for 0.5 it's probably solved. If it is the same location as 0.5, then this was probably not a good test -- The good test would be to delete the cache directory before installing macruby and then try it. The point being that it needs to be created by an administrator. -- Ticket URL: <http://www.macruby.org/trac/ticket/642#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby