Sha256: ba7b818d37574a059ed967d0fe15e598f3c9cc05d6f813b597ccf0aa03f56b1c
Contents?: true
Size: 605 Bytes
Versions: 1
Compression:
Stored size: 605 Bytes
Contents
require "myosx/version" require "myosx/config" require "myosx/dotfiles" require "myosx/homebrew" require "myosx/rbenv" module Myosx class Exec < Config def initialize Config.new.create_workspace(Config.new.workspace_directory) unless system("which brew >/dev/null 2>&1") puts "Error: can't find homebrew in PATH." exit end if Config.new.global['dotfiles'] Dotfiles.new.exec end if Config.new.global['homebrew'] Homebrew.new.exec end if Config.new.global['rbenv'] Rbenv.new.exec end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
myosx-0.2.6 | lib/myosx.rb |