Sha256: 16f6de3ef7f7b83aad3ec3c948d23c58527f80e7fa51fb00ac875f4f264b4777

Contents?: true

Size: 848 Bytes

Versions: 4

Compression:

Stored size: 848 Bytes

Contents

Vagrant.configure('2') do |config|
  config.vm.box = 'ubuntu/trusty64'
  config.vm.provider 'virtualbox' do |vb|
    vb.memory = '512'
  end
  config.vm.provision 'chef_apply' do |chef|
    chef.recipe = <<-RECIPE
      apt_update 'update' do
        action :nothing
      end
      apt_repository 'ruby-ng' do
        uri 'ppa:brightbox/ruby-ng'
        distribution node['lsb']['codename']
        only_if { node['lsb']['codename'] == 'trusty' }
        notifies :update, 'apt_update[update]', :immediately
      end
      package %w(git)
      package %w(ruby2.1 ruby2.1-dev) do # raise/lower this if our minimum version ever changes - only affects local testing
        only_if { node['lsb']['codename'] == 'trusty' }
      end
      gem_package 'bundler'
      execute 'bundle install' do
        cwd '/vagrant'
      end
    RECIPE
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nio4r-websocket-0.6.3 Vagrantfile
nio4r-websocket-0.6.2 Vagrantfile
nio4r-websocket-0.6.1 Vagrantfile
nio4r-websocket-0.6.0 Vagrantfile