[MacRuby] #144: require of hotcocoa fails on case sensitive file system
#144: require of hotcocoa fails on case sensitive file system -------------------------------+-------------------------------------------- Reporter: rune@snuskete.com | Owner: lsansonetti@apple.com Type: defect | Status: new Priority: trivial | Milestone: Component: MacRuby | Keywords: hotcocoa -------------------------------+-------------------------------------------- When hotcocoa includes the Cocoa library it uses the wrong case, resulting on the following stack trace when you are using a case sensitive file system: {{{
require 'hotcocoa' RuntimeError: framework `cocoa' not found from /Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/hotcocoa.rb:1:in `framework' from /Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/hotcocoa.rb:1:in `<top (required)>' from (irb):2:in `require' from (irb):2 from /usr/local/bin/macirb:12:in `<main>' }}}
The fix is easy; change the first line of hotcocoa.rb to: framework 'Cocoa' -- Ticket URL: <http://www.macruby.org/trac/ticket/144> MacRuby <http://macruby.org/>
#144: require of hotcocoa fails on case sensitive file system -------------------------------+-------------------------------------------- Reporter: rune@snuskete.com | Owner: rich@infoether.com Type: defect | Status: new Priority: trivial | Milestone: Component: MacRuby | Resolution: Keywords: hotcocoa | -------------------------------+-------------------------------------------- Changes (by lsansonetti@apple.com): * owner: lsansonetti@apple.com => rich@infoether.com -- Ticket URL: <http://www.macruby.org/trac/ticket/144#comment:1> MacRuby <http://macruby.org/>
#144: require of hotcocoa fails on case sensitive file system -------------------------------+-------------------------------------------- Reporter: rune@… | Owner: rich@… Type: defect | Status: new Priority: trivial | Milestone: Component: MacRuby | Keywords: hotcocoa -------------------------------+-------------------------------------------- Comment(by mattaimonetti@…): Already fixed, please close. -- Ticket URL: <http://www.macruby.org/trac/ticket/144#comment:2> MacRuby <http://macruby.org/>
#144: require of hotcocoa fails on case sensitive file system -------------------------------+-------------------------------------------- Reporter: rune@… | Owner: rich@… Type: defect | Status: closed Priority: trivial | Milestone: MacRuby 0.4 Component: MacRuby | Resolution: fixed Keywords: hotcocoa | -------------------------------+-------------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.4 -- Ticket URL: <http://www.macruby.org/trac/ticket/144#comment:3> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby