title: require('image') not working in Torch7
body: <p>I have installed 'image' package using luarocks</p>
  
  <pre><code>$ luarocks  install image
  </code></pre>
  
  <p>and everything gets installed without any error. Whenever I try to use it the following error is returned:</p>
  
  <pre><code>&gt; th&gt; require('image')
  &gt;
  &gt; /home/khurram/torch/install/share/lua/5.1/trepl/init.lua:384:
  &gt; /home/khurram/torch/install/share/lua/5.1/trepl/init.lua:384: module
  &gt; 'sys.fpath' not found:No LuaRocks module found for sys.fpath  no field
  &gt; package.preload['sys.fpath']  no file
  &gt; '/home/khurram/.luarocks/share/lua/5.1/sys/fpath.lua'     no file
  &gt; '/home/khurram/.luarocks/share/lua/5.1/sys/fpath/init.lua'    no file
  &gt; '/home/khurram/torch/install/share/lua/5.1/sys/fpath.lua'     no file
  &gt; '/home/khurram/torch/install/share/lua/5.1/sys/fpath/init.lua'    no
  &gt; file './sys/fpath.lua'    no file
  &gt; '/home/khurram/torch/install/share/luajit-2.1.0-beta1/sys/fpath.lua'
  &gt;   no file '/usr/local/share/lua/5.1/sys/fpath.lua'    no file
  &gt; '/usr/local/share/lua/5.1/sys/fpath/init.lua'     no file
  &gt; '/home/khurram/.luarocks/lib/lua/5.1/sys/fpath.so'    no file
  &gt; '/home/khurram/torch/install/lib/lua/5.1/sys/fpath.so'    no file
  &gt; '/home/khurram/torch/install/lib/sys/fpath.so'    no file
  &gt; './sys/fpath.so'  no file '/usr/local/lib/lua/5.1/sys/fpath.so'   no
  &gt; file '/usr/local/lib/lua/5.1/loadall.so'  no file
  &gt; '/home/khurram/.luarocks/lib/lua/5.1/sys.so'  no file
  &gt; '/home/khurram/torch/install/lib/lua/5.1/sys.so'  no file
  &gt; '/home/khurram/torch/install/lib/sys.so'  no file './sys.so'  no file
  &gt; '/usr/local/lib/lua/5.1/sys.so'   no file
  &gt; '/usr/local/lib/lua/5.1/loadall.so' stack traceback:  [C]: in function
  &gt; 'error'   /home/khurram/torch/install/share/lua/5.1/trepl/init.lua:384:
  &gt; in function 'require'     [string "_RESULT={require "image"}"]:1: in main
  &gt; chunk     [C]: in function 'xpcall'
  &gt;   /home/khurram/torch/install/share/lua/5.1/trepl/init.lua:651: in
  &gt; function 'repl'
  &gt;   ...rram/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:199: in
  &gt; main chunk    [C]: at 0x00406670
  </code></pre>
  
  <p>Can anybody please help me in this? I am a newbie in Torch7 &amp; LUA.</p>
  
  <p>PS: I am running Ubuntu 14.04 and have installed Torch7 according to the official instructions and everything else is working fine.</p>