Module: MacOS

Includes:
Unix
Included in:
Config
Defined in:
lib/pretest/config/mac.rb

Instance Method Summary collapse

Methods included from Unix

#remove_bin

Instance Method Details

#set_mac_envObject



5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/pretest/config/mac.rb', line 5

def set_mac_env
  puts 'Installing/checking HomeBrew'
  mac_update_brew
  puts 'Installing PhantomJS'
  mac_phantomjs_installer
  puts 'Installing ChromeDriver'
  mac_chromedriver_installer
  puts 'Installing/Checking Xcode'
  system 'xcode-select --install > /dev/null'
  puts 'done!'
  puts 'Installing GeckoDriver'
  mac_gecko_installer
end