Skip to content

Instantly share code, notes, and snippets.

@sebastiangeiger
Created January 28, 2014 13:07
Show Gist options
  • Save sebastiangeiger/8667292 to your computer and use it in GitHub Desktop.
Save sebastiangeiger/8667292 to your computer and use it in GitHub Desktop.
FROM ubuntu
# Installing ruby 2.0.0-p353 from source
RUN apt-get -y update && apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev wget
RUN cd /tmp && wget http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz && tar -xvzf ruby-2.0.0-p353.tar.gz
RUN cd /tmp/ruby-2.0.0-p353/ && ./configure --prefix=/usr/local && make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment