[MacPorts] #45257: ruby20: warnings from library files that differ only by case of filename

MacPorts noreply at macports.org
Sun Oct 5 08:58:12 PDT 2014


#45257: ruby20: warnings from library files that differ only by case of filename
----------------------+-----------------------
  Reporter:  me@…     |      Owner:  kimuraw@…
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.3.1
Resolution:  wontfix  |   Keywords:
      Port:  ruby20   |
----------------------+-----------------------
Changes (by kimuraw@…):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 I think this is not a problem of port:ruby20.
 the cause of this warnings is OS X's default filesystem called "HFS+".

 - HFS+ is a case insensitive filesystem.
   - type `LS` in terminal.app then runs `ls`. that does not mean
 executable file named "LS" exists.
 - port:ruby20 contains only "digest.rb".
 - you should code `require "digest"` not "Digest".

 {{{
 % port contents ruby20 | grep -i 'digest\.rb'
   /opt/local/lib/ruby2.0/2.0.0/digest.rb
   /opt/local/lib/ruby2.0/2.0.0/openssl/digest.rb
   /opt/local/lib/ruby2.0/2.0.0/webrick/httpauth/htdigest.rb
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45257#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list