Sha256: ff1c637521f8e8ebabd7b888f128c5954bf5ee3d836ea537ca808f31ff0e94b7

Contents?: true

Size: 322 Bytes

Versions: 8

Compression:

Stored size: 322 Bytes

Contents

Gem.post_install do
  if Gem::Platform.local.os =~ /darwin/
    # Required until https://github.com/mist64/xhyve/issues/60 is resolved
    bin = File.expand_path('../xhyve/vendor/xhyve', __FILE__)
    `/usr/bin/osascript -e 'do shell script "chown root #{bin} && chmod +s #{bin}" with administrator privileges'`
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
vagrant-hyperkit-0.4.3 vendor/xhyve-ruby/lib/rubygems_plugin.rb
vagrant-xhyve-0.4.1 vendor/xhyve-ruby/lib/rubygems_plugin.rb
vagrant-xhyve-0.4.0 vendor/xhyve-ruby/lib/rubygems_plugin.rb
vagrant-xhyve-0.3.0 vendor/xhyve-ruby/lib/rubygems_plugin.rb
vagrant-xhyve-0.2.0 vendor/xhyve-ruby/lib/rubygems_plugin.rb
xhyve-ruby-0.0.6 lib/rubygems_plugin.rb
xhyve-ruby-0.0.5 lib/rubygems_plugin.rb
xhyve-ruby-0.0.4 lib/rubygems_plugin.rb