Class: System::Update

Inherits:
Object
  • Object
show all
Defined in:
lib/system.rb

Constant Summary collapse

AUTO_RUN =
ARGV[0]

Instance Method Summary collapse

Instance Method Details

#performObject



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/system.rb', line 21

def perform
  OSX.system_info
  Ruby.check_rubygems_version
  Ruby.check_bundler_version

  ZSH.update if ZSH.installed?
  Rbenv.update if Rbenv.installed?

  if Brew.installed?
    Brew.update
    Brew.cleanup
  end

  if RVM.installed?
    RVM.update
    RVM.cleanup
  end

  OSX.intro
  OSX.check_mac_store_updates
  OSX.repair_disk_permissions
end