title: Module installed by Luarocks not found
body: <p>I am working on Debian Stable Linux. I installed luafilesystem module by command: </p>
  
  <pre><code>luarocks --local install luafilesystem
  </code></pre>
  
  <p>However, it is not found when any of following is used in lua source files: </p>
  
  <pre><code>require ("lfs")
  require ("luafilesystem")
  </code></pre>
  
  <p>(Although these files run properly when ran from within ZeroBraneStudio IDE).</p>
  
  <p>From a suggestion on the web, I ran following command also: </p>
  
  <pre><code>luarocks --local install luarocks
  </code></pre>
  
  <p>But it does not help. I checked with luarocks-admin command, which showed: </p>
  
  <pre><code>CONFIGURATION
      Lua version: 5.1
      Configuration files:
          System: /etc/luarocks/config.lua (ok)
          User  : /home/abcd/.luarocks/config-5.1.lua (not found)
  
      Rocks trees in use: 
          /home/abcd/.luarocks
          /usr/local
  </code></pre>
  
  <p>Currently, I only have these 2 modules installed:</p>
  
  <pre><code>$ luarocks list
  
  Installed rocks:
  ----------------
  
  luafilesystem
     1.7.0-2 (installed) - /home/abcd/.luarocks/lib/luarocks/rocks
  
  luarocks
     2.4.3-1 (installed) - /home/abcd/.luarocks/lib/luarocks/rocks
  </code></pre>
  
  <p>Should I copy /etc/luarocks/config.lua to /home/abcd/.luarocks for this? Thanks for your help.</p>