Projects

Ticket #144 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

require of hotcocoa fails on case sensitive file system

Reported by: rune@… Owned by: rich@…
Priority: trivial Milestone: MacRuby 0.4
Component: MacRuby Keywords: hotcocoa
Cc:

Description

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'

Change History

Changed 3 years ago by lsansonetti@…

  • owner changed from lsansonetti@… to rich@…

Changed 3 years ago by mattaimonetti@…

Already fixed, please close.

Changed 3 years ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to MacRuby 0.4
Note: See TracTickets for help on using tickets.