Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The root cause of this it that <strong>the filesystem on Mac OS X is case insensitive by default</strong>. You can do a quick test to confirm this if you want on the command line.</p> <pre><code>touch testcase touch Testcase ls </code></pre> <p>If you only see only one testcase file then your probably on a case insensitive fs. Alternatively you can do something like:</p> <pre><code>diskutil info / </code></pre> <p>In the result if you see </p> <pre><code>File System Personality: Journaled HFS+ </code></pre> <p>and not</p> <pre><code>File System Personality: Case-sensitive Journaled HFS+. </code></pre> <p>then your case insensitive. If your insensitive then that is what allows you to get away with requiring 'RMagick' or 'rmagick' or any other capitalization pattern. As Cameron points out the lib file that your including is capitalized see: <a href="https://github.com/rmagick/rmagick/blob/master/lib/RMagick.rb" rel="nofollow">https://github.com/rmagick/rmagick/blob/master/lib/RMagick.rb</a> This means that when you are on a case sensitive fs you will have to</p> <pre><code>require 'RMagick' </code></pre> <p>as </p> <pre><code>require 'rmagick' </code></pre> <p>looks for a file that does not exist.</p> <p>I have seen a lot of issues with this especially if your git repo has two files with the same name and different cases in the same folder (for me this results in git always reporting uncommitted changes). For what its worth I used disk utility to create case sensitive disk image that I mount and use for development. That way I can leave the default case insensitive fs in place and avoid annoying issues like this.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload