Skip to content

Instantly share code, notes, and snippets.

@colby-swandale
Created December 9, 2016 23:14
Show Gist options
  • Save colby-swandale/16b79b691d4c3c6e74097c725985671c to your computer and use it in GitHub Desktop.
Save colby-swandale/16b79b691d4c3c6e74097c725985671c to your computer and use it in GitHub Desktop.
Bundler errors
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provision "shell", privileged: false, inline: <<-SHELL
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config -y
git clone https://github.com/postmodern/chruby
git clone https://github.com/rbenv/ruby-build
ruby-build/bin/ruby-build 1.9.3-p551 ~/.rubies/ruby-1.9.3
. chruby/share/chruby/chruby.sh
chruby ruby-1.9.3
git clone https://github.com/bundler/bundler
cd bundler
git checkout seg-spec-improvements
rake spec:travis:deps
rake man:build
rake spec:rubygems:clone_rubygems_master
RGV=master rspec ./spec/install/allow_offline_install_spec.rb:18
SHELL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment