{%- set pillar_get = salt['pillar.get'] %}
{%- set ruby_manager = pillar_get('ruby:manager', 'rvm') %}

include:
{%- if ruby_manager == 'rvm' %}
  - .rvm
{%- elif ruby_manager == 'chruby' %}
  - .chruby
{%- endif %}

{%- if pillar_get('ruby:capybara-webkit:enabled') %}
capybara-webkit-deps:
  pkg.installed:
    - pkgs:
      - qt4-qmake
      - libqt4-dev
{%- endif %}

{%- set pillar_get = salt['pillar.get'] %}
{%- set ruby_manager = pillar_get('ruby:manager', 'rvm') %}

include:
{%- if ruby_manager == 'rvm' %}
  - .rvm
{%- elif ruby_manager == 'chruby' %}
  - .chruby
{%- endif %}

{%- if pillar_get('ruby:capybara-webkit:enabled') %}
capybara-webkit-deps:
  pkg.installed:
    - pkgs:
      - libqt5webkit5-dev
      - qt5-default
      - qt5-qmake
{%- endif %}

Update capybara-webkit deps for Qt5
Update capybara-webkit deps for Qt5

malept/dev-environment,malept/dev-environment,malept/dev-environment