Projects

Ticket #359 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Project Templates Not Installed By Nightly Installer

Reported by: dylan@… Owned by: mattaimonetti@…
Priority: major Milestone: MacRuby 0.5
Component: MacRuby Keywords:
Cc:

Description

This may be either a bug or an enhancement request, depending on whether this behavior is expected or not.

Running the macruby_nightly-2009-09-29-1155 installer does not install the ruby project templates. These must be copied manually from source to the target destination (in my case I tuck them under ~/Library/Application Support/Developer/Shared/Xcode).

In addition, with the removal of the RubyCocoa support in Xcode 3.2 there are no longer Ruby file templates. I was unable to find copies of these in the source tree but I assume that copying them in from RubyCocoa would mostly work.

The combination of these two things makes the setup experience a lot less smooth, although still clearly do-able.

Change History

Changed 2 years ago by mattaimonetti@…

  • status changed from new to assigned
  • owner changed from lsansonetti@… to mattaimonetti@…
  • priority changed from blocker to major
  • type changed from defect to enhancement
  • milestone set to MacRuby 0.5

The templates should be installed, I'll check on the installer. Regarding the Ruby file template, I'll add a blank one Ruby file.

Thanks,

- Matt

Changed 2 years ago by masterkain@…

I conducted a little test, seems that wrong permissions on two folders is the issue.

Changed 2 years ago by mattaimonetti@…

Thanks Claudio, I'll fix that asap. I guess I set the files as being root/staff and that's wrong, can you confirm?

Thanks,

- Matt

Changed 2 years ago by masterkain@…

mm, actually I just checked, those are the perms:

drwx------  5 kain  wheel /Library/Application Support/Developer/Shared/Xcode/Project Templates/Application
drwx------  3 kain  wheel /Library/Application Support/Developer/Shared/Xcode/Target Templates
kain-osx:Xcode kain$ touch Target\ Templates/test
touch: Target Templates/test: Permission denied

also in finder those two folders are bolded with access denied mini, ofc meaning I cannot perform operations. kain is the user I'm using, before installing the newest nightly I wiped this folder to test the new folders permissions; the previous content was okay with permissions.

Changed 2 years ago by mattaimonetti@…

ok, the installer should be fixed (templates should be available), let's wait until next nightly build release and let me know if that worked on not.

Thanks,

- Matt

Changed 2 years ago by masterkain@…

using macruby_nightly-2009-09-30-1155.pkg, wiped the entire folder and then installed this is /Library/Application Support/

http://img.skitch.com/20090930-rmwa1ucywnybwapm6ehm9f8rug.jpg

Changed 2 years ago by lsansonetti@…

  • status changed from assigned to closed
  • resolution set to fixed

Looks like this bug can be closed.

Note: See TracTickets for help on using tickets.