title: Installing Jekyll without root
body: <p>I want to set up a jekyll blog on a  shared server. When I try to install Jekyll I get "You don't have write permissions". How do I fix this without root or sudo?</p>
  
  <p>More detail:</p>
  
  <p>I have space on a shared server and don't have root access. I couldn't install Ruby, though the hosting company installed it upon my request. </p>
  
  <p>When I try to install Jekyll I use </p>
  
  <pre><code>user@hosting.org [~]# gem install jekyll
  </code></pre>
  
  <p>and this is the response I get:</p>
  
  <pre><code>ERROR:  While executing gem ... (Gem::FilePermissionError)
  You don't have write permissions into the /usr/lib/ruby/gems/1.8 directory.
  </code></pre>
  
  <p>I have seen different suggestions for changing the GEMPATH which I have tried including </p>
  
  <pre><code>export GEM_PATH=/home/user/something
  </code></pre>
  
  <p>But even after doing so  </p>
  
  <pre><code>gem env 
  </code></pre>
  
  <p>still results in  </p>
  
  <pre><code>GEM PATHS:
  - /usr/lib/ruby/gems/1.8
  - /home/user/.gem/ruby/1.8
  </code></pre>
  
  <p>Any tips? Is it possible to install jekyll without root or sudo priviliges or am I just making some rookie PATH error?</p>