[MacRuby] #1440: Installing problem at the git 31cc69c8ca... SOURCE
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Please consider the ending following message: Installing framework resources mkdir -p -m 755 /Library/Frameworks/MacRuby.framework/Versions/0.12/Resources install -c -p -m 0644 framework/Info.plist /Library/Frameworks/MacRuby.framework/Versions/0.12/Resources rake aborted! No such file or directory - framework/Info.plist Tasks: TOP => install => install:all => install:resources (See full trace by running task with --trace) -- Ticket URL: <http://www.macruby.org/trac/ticket/1440> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by mrada@…): By the looks of it, either rake is somehow not in the right directory (so your relative path `framework/Info.plist` is not right), or Info.plist has not been built yet. When you look in the `framework/` directory of the source, is `Info.plist` there? -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:1> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by tglee@…): Replying to [comment:1 mrada@…]:
By the looks of it, either rake is somehow not in the right directory (so your relative path `framework/Info.plist` is not right), or Info.plist has not been built yet.
When you look in the `framework/` directory of the source, is `Info.plist` there?
There was the info.plist file in the/Library/Frameworks/MacRuby.framework/Versions/0.12/Resources directory. No info.plist file is in framework/ dir. -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:2> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by mrada@…): If you run `rake framework:info_plist` and then check `framework/`, does it exist then? -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:3> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by tglee@…): Replying to [comment:2 tglee@…]:
Replying to [comment:1 mrada@…]:
By the looks of it, either rake is somehow not in the right directory (so your relative path `framework/Info.plist` is not right), or Info.plist has not been built yet.
When you look in the `framework/` directory of the source, is `Info.plist` there?
There was the info.plist file in the/Library/Frameworks/MacRuby.framework/Versions/0.12/Resources directory. No info.plist file is in framework/ dir.
In the framework/ directory, there was 'InfoPlist.strings' file -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:4> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by tglee@…): Replying to [comment:3 mrada@…]:
If you run `rake framework:info_plist` and then check `framework/`, does it exist then? Yes, it does.
-- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:5> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by mrada@…): That's good! So if you try to `sudo rake install` now, what happens? :) -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:6> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by tglee@…): Replying to [comment:6 mrada@…]:
That's good! So if you try to `sudo rake install` now, what happens? :) There was no rake aborted. but the ending message following:
.... mkdir -p -m 755 /Developer/Examples/Ruby/MacRuby/YamlTable/Tests install -c -p -m 0775 sample-macruby/YamlTable/Tests/stub_test.rb /Developer/Examples/Ruby/MacRuby/YamlTable/Tests/stub_test.rb mkdir -p -m 755 /Developer/Examples/Ruby/MacRuby/YamlTable/yaml_table.xcodeproj mkdir -p -m 755 /Developer/Examples/Ruby/MacRuby/YamlTable/yaml_table.xcodeproj install -c -p -m 0775 sample- macruby/YamlTable/yaml_table.xcodeproj/project.pbxproj /Developer/Examples/Ruby/MacRuby/YamlTable/yaml_table.xcodeproj/project.pbxproj Is this OK? -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:7> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by mrada@…): Yes, it is OK. It does not cause problems after install, but it is a glitch I still have to fix. :( -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:8> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by tglee@…): Replying to [comment:8 mrada@…]:
Yes, it is OK. It does not cause problems after install, but it is a glitch I still have to fix. :(
Thanks a lot for your kind response. Good luck! -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:9> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: fixed Keywords: | ----------------------------+----------------------------------------------- Changes (by watson1978@…): * status: new => closed * resolution: => fixed -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:10> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: blocker | Milestone: Component: MacRuby | Resolution: Keywords: | ----------------------------+----------------------------------------------- Changes (by msabramo@…): * status: closed => reopened * resolution: fixed => Comment: This is still happening with the latest version on master from GitHub. See #1442. -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:11> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: blocker | Milestone: Component: MacRuby | Resolution: Keywords: | ----------------------------+----------------------------------------------- Comment(by mrada@…): @msabramo are you saying that you cannot generate the framework/Info.plist file? -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:12> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: blocker | Milestone: Component: MacRuby | Resolution: Keywords: | ----------------------------+----------------------------------------------- Comment(by msabramo@…): Replying to [comment:12 mrada@…]:
@msabramo are you saying that you cannot generate the framework/Info.plist file?
I can generate it with `rake framework:info_plist`, but it does not get automatically created when I do `rake` and `rake install` so `rake framework:info_plist` is an easy workaround, but I'd say it's still a bug that should be fixed since the README.rdoc doesn't mention it. I'd say add it to README.rdoc or even better, modify the `Rakefile` so that it takes care of generating the `Info.plist` automatically. -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:13> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: blocker | Milestone: Component: MacRuby | Resolution: Keywords: | ----------------------------+----------------------------------------------- Comment(by mrada@…): Replying to [comment:13 msabramo@…]:
Replying to [comment:12 mrada@…]:
@msabramo are you saying that you cannot generate the framework/Info.plist file?
I can generate it with `rake framework:info_plist`, but it does not get automatically created when I do `rake` and `rake install` so `rake framework:info_plist` is an easy workaround, but I'd say it's still a bug that should be fixed since the README.rdoc doesn't mention it. I'd say add it to README.rdoc or even better, modify the `Rakefile` so that it takes care of generating the `Info.plist` automatically.
You're right, it should generate when you build macruby. And for me it does, and as far as I know none of the other macruby devs have had a problem. Though there are at least two people who are having this issue. I'll double check to see if there was something in the old install script that ensured it was generated, but I'd rather not set the dependency in the new script as it would often cause the file to be owned by root (since you usually run `sudo rake install` instead of `rake install`). -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:14> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: blocker | Milestone: Component: MacRuby | Resolution: Keywords: | ----------------------------+----------------------------------------------- Comment(by mrada@…): @msabramo Ok, it looks like it was set as a dependency on install in `rakelib/` and it is never removed when you run `rake clean`, so that is why devs didn't have an issue. I've restored the dependency so this is now fixed. Sorry for being a pain. :( -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:15> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: blocker | Milestone: Component: MacRuby | Resolution: Keywords: | ----------------------------+----------------------------------------------- Comment(by mrada@…): Actually, it should be part of build/clean for MacRuby, so I'll change it to that. -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:16> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: reopened Priority: blocker | Milestone: Component: MacRuby | Resolution: Keywords: | ----------------------------+----------------------------------------------- Comment(by msabramo@…): Replying to [comment:16 mrada@…]:
Actually, it should be part of build/clean for MacRuby, so I'll change it to that.
The following seemed to work for me: https://github.com/MacRuby/MacRuby/pull/55 -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:17> MacRuby <http://macruby.org/>
#1440: Installing problem at the git 31cc69c8ca... SOURCE ----------------------------+----------------------------------------------- Reporter: tglee@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: Component: MacRuby | Resolution: fixed Keywords: | ----------------------------+----------------------------------------------- Changes (by watson1978@…): * status: reopened => closed * resolution: => fixed -- Ticket URL: <http://www.macruby.org/trac/ticket/1440#comment:18> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby