Skip to content

Instantly share code, notes, and snippets.

@eterps
Created Aug 27, 2018
Embed
What would you like to do?
ruby-llvm on ubuntu 16.04 with recent llvm version 3.5
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y build-essential ruby-dev llvm-3.5 wget
RUN gem install bundler rake
RUN /bin/echo -e "source 'https://rubygems.org'\ngem 'ruby-llvm'" >Gemfile
RUN bundle install
RUN wget -nv https://raw.githubusercontent.com/ruby-llvm/ruby-llvm/master/samples/hello.rb
CMD bundle exec ruby hello.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment