Sha256: dd71a413aa9a692a4fab54c34936b15bbdb4a158f055a749118bdc3c63962ace

Contents?: true

Size: 1011 Bytes

Versions: 15

Compression:

Stored size: 1011 Bytes

Contents

Vagrant.configure('2') do |config|
  config.vm.box = 'ubuntu/precise64'

  config.vm.provision 'shell', :inline => <<-SH
    set -e

    cd /vagrant

    echo 'apt-get update...'
    apt-get update > /dev/null

    echo 'Install git, imagemagick, ruby1.9.1-dev...'
    apt-get install -y git npm imagemagick ruby1.9.1-dev > /dev/null

    echo 'Install node, npm...'
    curl -sL https://deb.nodesource.com/setup | sudo bash - > /dev/null
    sudo apt-get install -y nodejs > /dev/null

    echo 'Update rubygems...'
    REALLY_GEM_UPDATE_SYSTEM=x gem update --system > /dev/null

    echo 'Install bundler...'
    gem install bundler > /dev/null

    echo 'Install svgo...'
    npm install -g -q svgo > /dev/null

    echo 'Install pngout...'
    curl -s \
      'http://static.jonof.id.au/dl/kenutils/pngout-20130221-linux.tar.gz' | \
      tar -xz -C /usr/local/bin --strip-components 2 \
      --wildcards '*/x86_64/pngout'

    echo 'Bundle...'
    bundle install --jobs=3 --quiet
    bundle list
  SH
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
image_optim-0.26.3 Vagrantfile
image_optim-0.26.2 Vagrantfile
discourse_image_optim-0.26.2 Vagrantfile
discourse_image_optim-0.26.1 Vagrantfile
image_optim-0.26.1 Vagrantfile
image_optim-0.26.0 Vagrantfile
image_optim-0.25.0 Vagrantfile
discourse_image_optim-0.24.5 Vagrantfile
image_optim-0.24.3 Vagrantfile
discourse_image_optim-0.24.4 Vagrantfile
image_optim-0.24.2 Vagrantfile
image_optim-0.24.1 Vagrantfile
image_optim-0.24.0 Vagrantfile
image_optim-0.23.0 Vagrantfile
image_optim-0.22.1 Vagrantfile