Norberto Ortigoza
norbe****@gmail*****
Mon Jan 22 02:00:41 JST 2007
Hi, when you set a path for the output of rdoc it creates under it the following structure: doc/ri system "rdoc --ri #{output_dir}/ruby -o #{output_dir}/ri" # gen_bridge_doc.rb thats why the final structure is: framework/bride-doc/ri/doc/ri/OSX ^^^^^^^^ Eloy: I think the first version you put in svn was the rigth one :D now, pre-install.rb is using Config::CONFIG['datadir'] in order to get the final destination. When I run: ruby -r rbconfig -e 'p Config::CONFIG["datadir"]' ------> /opt/local/share /usr/bin/ruby -r rbconfig -e 'p Config::CONFIG["datadir"]' ------> /usr/share I get the right path for the ruby version I´m using. Jean-Pierre: As Eloy said, you need to run ruby install.rb doc in order to get the doc created before the install. Cheers, NoM On 1/21/07, Fujimoto Hisa <hisa****@fobj*****> wrote: > > Hi Eloy-san > > On 2007/01/21, at 21:54, Eloy Duran wrote: > > >> hmm it still isn't working for me and i do have (the ever- > >> excellent) hpricot > >> installed (from svn head). looking at the end of the install log i > >> think i > >> might have tracked it down: > >> > >> cp -R 'framework/bridge-doc/OSX' '/opt/local/share/ri/1.8/site' > >> cp: framework/bridge-doc/OSX: No such file or directory > >> install failed > >> hook > >> /Volumes/local/Users/jpm/sandbox/rubycocoa-unstable/./pre-install.rb > >> failed: > >> 'system cp -R 'framework/bridge-doc/OSX' '/opt/local/share/ri/1.8/ > >> site'' > >> failed > >> try 'ruby install.rb --help' for usage > >> > >> i don't have a 'framework/bridge-doc/OSX' directory > > i have same problem on my environment. > the real diretory on my env is: > > framework/bride-doc/ri/doc/ri/OSX # maybe here though miss the > exactly location > > my envrionment for ruby is: > > /usr/bin/ruby # ruby 1.8.2 > /opt/bin/ruby # ruby 1.8.5 > $ which ruby => /opt/bin/ruby > > # so /usr/bin/env ruby launch /opt/bin/ruby > > seems the doc and the install task have some problem > around this of situation (multiple ruby env). > > /usr/bin/ruby install.rb doc seems launch /opt/bin/ruby on > my environment. it might be bug for the task. > > please make sure each install.rb task work fine on muliple > ruby command environment. > > Sorry i can't fix soon now i'm working the bundle/plugin > issue. i may fix the doc issue after the bundle issue. > > thanks > -- > > hisa > > _______________________________________________ > Rubycocoa-devel mailing list > Rubyc****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel > -------------- next part -------------- An HTML attachment was scrubbed... Télécharger