Sha256: 24a53af65c09583bbe733b02e9dee95032d53e157329165d6ff62ac1a20803fa
Contents?: true
Size: 546 Bytes
Versions: 7
Compression:
Stored size: 546 Bytes
Contents
# Install rbenv and ruby-build RUN git clone https://github.com/sstephenson/rbenv.git /root/.rbenv RUN git clone https://github.com/sstephenson/ruby-build.git /root/.rbenv/plugins/ruby-build RUN ./root/.rbenv/plugins/ruby-build/install.sh ENV PATH /root/.rbenv/bin:$PATH RUN echo 'eval "$(rbenv init -)"' >> /etc/profile.d/rbenv.sh # or /etc/profile RUN echo 'eval "$(rbenv init -)"' >> .bashrc # Install multiple versions of ruby ENV CONFIGURE_OPTS --disable-install-doc <% @ruby_versions.each do |v| %> RUN rbenv install <%= v %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems