title: install jekyll in linux mint
body: <p>I tried to install jekyll on my <code>Linux heavenpc 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
  </code><br>
  I have appropriate suplementary packages installed:</p>
  
  <pre><code>god@heavenpc ~ $ ruby -v
  ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
  god@heavenpc ~ $ rvm -v
  rvm 1.27.0 (master) by Wayne E. Seguin &lt;wayneeseguin@gmail.com&gt;, Michal Papis &lt;mpapis@gmail.com&gt; [https://rvm.io/]
  god@heavenpc ~ $ gem -v
  2.5.1
  </code></pre>
  
  <p>But can't install jekyll:</p>
  
  <pre><code>god@heavenpc ~ $ gem install jekyll
  ERROR:  While executing gem ... (Gem::FilePermissionError)
      You don't have write permissions for the /home/god/.rvm/gems/ruby-2.3.0 directory.
  god@heavenpc ~ $ sudo gem install jekyll
  ERROR:  Error installing jekyll:
      jekyll requires Ruby version &gt;= 2.0.0.
  </code></pre>
  
  <p>I have another ruby but it is not default (and rvm doesn't show it):</p>
  
  <pre><code>god@heavenpc ~ $ whereis ruby
  ruby: /usr/bin/ruby /usr/bin/ruby2.0 /usr/lib/ruby /usr/bin/X11/ruby /usr/bin/X11/ruby2.0 /usr/share/man/man1/ruby.1.gz
  god@heavenpc ~ $ cd /usr/bin/ &amp;&amp; ./ruby -v
  ruby 1.9.3p551 (2014-11-13) [x86_64-linux] Brightbox
  god@heavenpc /usr/bin $ rvm list rubies
  
  rvm rubies
  
  =* ruby-2.3.0 [ x86_64 ]
  
  # =&gt; - current
  # =* - current &amp;&amp; default
  #  * - default
  </code></pre>
  
  <p>Seems that this not default ruby is used while installing jekyll. I tried all approaches i've googled but nothing helped. </p>