RubyCocoa 0.4.0 path [?] Issue

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default RubyCocoa 0.4.0 path [?] Issue

    Any Mac OS X/Ruby users out there?

    Okay...I like the command line but I'm itching for a GUI.

    I'm using Mac OS X 10.2.6 and Ruby 1.6.8 (compiled from source). I just
    compiled RubyCocoa 0.4.0 from source and even though I applied the
    patch to take care of the Segmentation Fault problem, there still seems
    to be a greater problem with RubyCocoa finding individual bundles. For
    example, the test suite quits with:

    [me@computer:~/Desktop/rubycocoa-0.4.0/tests]$DYLD_FRAMEWORK_PATH=/
    Users/stephyn/Desktop/rubycocoa-0.4.0/framework/build r
    uby -I../lib testall.rb
    ../lib/osx/cocoa.rb:12:in `require': No such file to load --
    osx/objc/cocoa (LoadError)
    from ../lib/osx/cocoa.rb:12
    from ./tc_nsattributedstring.rb:12:in `require'
    from ./tc_nsattributedstring.rb:12
    from testall.rb:4:in `require'
    from testall.rb:4
    from testall.rb:3:in `each'
    from testall.rb:3
    Loaded suite testall
    Started

    Finished in 0.002562 seconds.

    0 tests, 0 assertions, 0 failures, 0 errors

    Similarly, attempting to run any other of the sample scripts fails with
    similar results. Generally, anything osx/? can't be found. For example,

    [me@computer:/Developer/Examples/RubyCocoa]$ruby sndplay.rb
    /usr/local/lib/ruby/site_ruby/1.6/osx/cocoa.rb:12:in `require': No such
    file to load -- osx/objc/cocoa (LoadError)
    from /usr/local/lib/ruby/site_ruby/1.6/osx/cocoa.rb:12
    from sndplay.rb:1:in `require'
    from sndplay.rb:1

    This seems to be a known issue. I was curious if anyone had found a
    fix. I'm also posting to rubycocoa-talk but there doesn't seem to be
    much traffic on that list.

    Thanks in advance.
    Steve


    Stephyn Butcher Guest

  2. Similar Questions and Discussions

    1. clipping path shows ouside path in quark
      I'm making paths on silo'd objects on white backgrounds to place on colored backgrounds in quark 4. Operating pshop 6.01 in os 9.2. I put the path on...
    2. Image Path Through A XML File Issue
      Hello Community: I am not a flash wiz, rather I am a coldfusion developer. I have attached a flash banner that reads two attributes from a XML...
    3. UNC Path Issue
      Anyone come across an issue where having IIS set to a UNC Path works for htm files but not for cfm files? I'm using Win2003/IIS6 with MX7. I'm able...
    4. Class Path Cold Fusion Administrator Issue
      I tried to add a class path for an evaluating tag from Java and JVM of Cold Fusion Administrator. page. I am running MX 6.1 in Unix Sun Solaris. ...
    5. RubyCocoa problem: No such file to load -- osx/objc/cocoa
      Hi, I'm trying to get RubyCocoa to work with ruby 1.8.0 on MacOS 10.2.8. I followed Simon's advice and unchecked libruby-static.a in the...
  3. #2

    Default Re: RubyCocoa 0.4.0 path [?] Issue

    At Fri, 11 Jul 2003 13:03:50 +0900,
    Stephyn Butcher wrote:
    > Similarly, attempting to run any other of the sample scripts fails with
    > similar results. Generally, anything osx/? can't be found. For example,
    >
    > [me@computer:/Developer/Examples/RubyCocoa]$ruby sndplay.rb
    > /usr/local/lib/ruby/site_ruby/1.6/osx/cocoa.rb:12:in `require': No such
    > file to load -- osx/objc/cocoa (LoadError)
    > from /usr/local/lib/ruby/site_ruby/1.6/osx/cocoa.rb:12
    > from sndplay.rb:1:in `require'
    > from sndplay.rb:1
    You should check the following:

    a0 = $:.dup
    require 'rubycocoa'
    p $: - a0

    The file "osx/objc/cocoa.rb" should exist in the result directory.

    I guess that rubycocoa.bundle or RubyCocoa.framework is broken,
    because "ruby install.rb setup" has failed. If so, I don't know
    why it failed. Did you check an error of the log when setup-phase?

    regards,
    --
    FUJIMTO Hisakuni

    FUJIMOTO Hisakuni Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139