[MacRuby] #975: macri requires superuser permissions to update cache
#975: macri requires superuser permissions to update cache ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: macri root cache ------------------------------------+--------------------------------------- Tonight I tried to use macri for the first time and I got an error: # macri Pointer /Library/Frameworks/MacRuby.framework/Versions/0.7.1/usr/lib/ruby/1.9.2/rdoc/ri/driver.rb:383:in `create_class_cache': Permission denied - open() failed (Errno::EACCES) from /Library/Frameworks/MacRuby.framework/Versions/0.7.1/usr/lib/ruby/1.9.2/rdoc/ri/driver.rb:342:in `class_cache' from /Library/Frameworks/MacRuby.framework/Versions/0.7.1/usr/lib/ruby/1.9.2/rdoc/ri/driver.rb:596:in `block' from /Library/Frameworks/MacRuby.framework/Versions/0.7.1/usr/lib/ruby/1.9.2/rdoc/ri/driver.rb:591:in `run' from /usr/local/bin/macri:3:in `<main>' zsh: exit 1 macri Pointer When I ran macri as root it updated its cache and then started to "work" (not quite, but that is a separate issue). -- Ticket URL: <http://www.macruby.org/trac/ticket/975> MacRuby <http://macruby.org/>
#975: macri requires superuser permissions to update cache ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.8 Component: MacRuby | Resolution: fixed Keywords: macri root cache | ------------------------------------+--------------------------------------- Changes (by watson1978@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.8 Comment: Now, It seems that MacRuby be able to create the cache. {{{ $ macruby -e "p MACRUBY_VERSION, MACRUBY_REVISION" "0.8" "svn revision 4975 from http://svn.macosforge.org/repository/ruby/MacRuby/trunk" $ macri Pointer Updating class cache with 1304 classes... Nothing known about Pointer /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/rdoc/ri/driver.rb:646:in `run': Nothing known about Pointer (SystemExit) from /Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib/ruby/1.9.2/rdoc/ri/driver.rb:305:in `run:' from /usr/local/bin/macri:5:in `<main>' }}} Pointer keyword is not found, but it will be another issue. -- Ticket URL: <http://www.macruby.org/trac/ticket/975#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby