<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aaron Storrer</title>
    <description>The latest articles on DEV Community by Aaron Storrer (@astorrer).</description>
    <link>https://dev.to/astorrer</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F751050%2F19e71070-00c8-4fcb-84b4-157e98feb1ff.png</url>
      <title>DEV Community: Aaron Storrer</title>
      <link>https://dev.to/astorrer</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/astorrer"/>
    <language>en</language>
    <item>
      <title>Case Sensitivity in WSL. Watch out!</title>
      <dc:creator>Aaron Storrer</dc:creator>
      <pubDate>Wed, 22 Dec 2021 16:25:40 +0000</pubDate>
      <link>https://dev.to/astorrer/case-sensitivity-in-wsl-watch-out-5c5a</link>
      <guid>https://dev.to/astorrer/case-sensitivity-in-wsl-watch-out-5c5a</guid>
      <description>&lt;p&gt;I recently encountered an error when deploying some new updates to a Rails Application. The error? The application could not find a missing .xml template in production, but it could on the development workstations. Even stranger - version control couldn't find any differences. &lt;br&gt;
Now, this is elementary to those using Linux to develop their software - file names and their extensions are case sensitive. When using Ubuntu under Windows subsystem for Linux, try the following in the console:&lt;br&gt;
Make a directory and navigate to it.&lt;br&gt;
&lt;code&gt;mkdir test &amp;amp;&amp;amp; cd test&lt;/code&gt;&lt;br&gt;
Create a file.&lt;br&gt;
&lt;code&gt;touch test.XML&lt;/code&gt;&lt;br&gt;
Now here is the fun part. Watch what happens when you run...&lt;br&gt;
&lt;code&gt;mv test.XML test.xml&lt;/code&gt;&lt;br&gt;
In WSL, this is what you get:&lt;br&gt;
&lt;code&gt;mv: 'test.XML' and 'test.xml' are the same file&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Yikes!&lt;/strong&gt;&lt;br&gt;
What's going on? Well, on the workstation that we used to create the template, somebody made a typo and typed (XML) instead of (xml) and the workstation was configured not to look for case sensitivity. There are ways to change this behavior, &lt;a href="https://devblogs.microsoft.com/commandline/improved-per-directory-case-sensitivity-support-in-wsl/"&gt;per this article.&lt;/a&gt;&lt;br&gt;
If you are using Windows and WSL and you are used to working on a Mac, take note - danger!&lt;/p&gt;

</description>
      <category>wsl</category>
      <category>bash</category>
    </item>
  </channel>
</rss>
