Sha256: 7633e893c79f7d47dd582ae80607e44df08b82eb79a12a65b3b8f8be1de802f6
Contents?: true
Size: 596 Bytes
Versions: 1
Compression:
Stored size: 596 Bytes
Contents
require "myosx/version" require "myosx/konfig" require "myosx/dotfiles" require "myosx/homebrew" require "myosx/rbenv" module Myosx class Exec def initialize Konfig.new.create_workspace(Konfig.new.workspace_directory) unless system("which brew >/dev/null 2>&1") puts "Error: can't find homebrew in PATH." exit end if Konfig.new.global['dotfiles'] Dotfiles.new.exec end if Konfig.new.global['homebrew'] Homebrew.new.exec end if Konfig.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.7 | lib/myosx.rb |