Skip to content

Instantly share code, notes, and snippets.

Created Aug 27, 2018
What would you like to do?
ruby-llvm on recent ubuntu with recent llvm version
FROM ubuntu:18.04
RUN apt-get update && apt-get install -y build-essential git ruby-dev llvm-5.0-dev
RUN gem install bundler rake
RUN /bin/echo -e "source ''\ngem 'ruby-llvm', git: '', ref: '889e97d'" >Gemfile
RUN bundle install
CMD bundle exec ruby /var/lib/gems/*/bundler/gems/ruby-llvm*/samples/hello.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment