title: Trying to install rbenv in dockerfile not working
body: <p>Here is my dockerfile command:</p>
  
  <pre><code># Install rbenv
  RUN git clone git://github.com/sstephenson/rbenv.git /home/jenkins/.rbenv \
      &amp;&amp; echo 'export PATH="/home/jenkins/.rbenv/bin:$PATH"' &gt;&gt; ~/.profile \
      &amp;&amp; git clone git://github.com/sstephenson/ruby-build.git /home/jenkins/.rbenv/plugins/ruby-build \
      &amp;&amp; echo 'export PATH="/home/jenkins/.rbenv/plugins/ruby-build/bin:$PATH"' &gt;&gt; ~/.profile \
      &amp;&amp; echo 'eval "$(rbenv init -)"' &gt;&gt; ~/.profile \
      &amp;&amp; . ~/.profile \
      &amp;&amp; rbenv install -v 2.2.3 \
      &amp;&amp; rbenv global 2.2.3 \
      &amp;&amp; echo $PATH
  
  # Install Sass
  RUN . ~/.profile \
      &amp;&amp; rbenv versions \
      &amp;&amp; gem env home \
      &amp;&amp; gem update --system \
      &amp;&amp; gem install sass --no-rdoc --no-ri
  </code></pre>
  
  <p>When the <code>Install Sass</code> part runs, I keep getting the error of <code>rbenv not found</code>. The <code>echo $PATH</code> piece doesn't show rbenv apart of the path, so I know that's the issue, just unsure on how to its not working.</p>
  
  <p>Docker version is <code>v1.11.0</code></p>