title: lua and "module 'gears' not found:"
body: <p>I have the awesome rc.lua file , <code>awesome 3.5</code> and <code>lua 5.2</code> .When i use awesome -k i get the following result:</p>
  
  <pre><code>mohsen@debian:~$ awesome -k
  ✔ Configuration file syntax OK.
  </code></pre>
  
  <p>But when i use :</p>
  
  <pre><code>mohsen@debian:~$ lua .config/awesome/rc.lua 
  lua: .config/awesome/rc.lua:2: module 'gears' not found:
      no field package.preload['gears']
      no file '/usr/local/share/lua/5.2/gears.lua'
      no file '/usr/local/share/lua/5.2/gears/init.lua'
      no file '/usr/local/lib/lua/5.2/gears.lua'
      no file '/usr/local/lib/lua/5.2/gears/init.lua'
      no file '/usr/share/lua/5.2/gears.lua'
      no file '/usr/share/lua/5.2/gears/init.lua'
      no file './gears.lua'
      no file '/usr/local/lib/lua/5.2/gears.so'
      no file '/usr/lib/i386-linux-gnu/lua/5.2/gears.so'
      no file '/usr/lib/lua/5.2/gears.so'
      no file '/usr/local/lib/lua/5.2/loadall.so'
      no file './gears.so'
  stack traceback:
      [C]: in function 'require'
      .config/awesome/rc.lua:2: in main chunk
      [C]: in ?
  </code></pre>
  
  <p>Gear is exist in :</p>
  
  <pre><code>/usr/share/awesome/lib/gears
  /usr/share/awesome/lib/gears/init.lua
  /usr/share/awesome/lib/gears/wallpaper.lua
  /usr/share/awesome/lib/gears/object.lua
  /usr/share/awesome/lib/gears/debug.lua
  /usr/share/awesome/lib/gears/sort.lua
  /usr/share/awesome/lib/gears/surface.lua
  /usr/share/awesome/lib/gears/color.lua
  </code></pre>
  
  <p><strong>Question:</strong> How can i solve my problem?</p>