Module: BinInstall
- Defined in:
- lib/bin_install.rb,
lib/bin_install/gem.rb,
lib/bin_install/git.rb,
lib/bin_install/zsh.rb,
lib/bin_install/atom.rb,
lib/bin_install/brew.rb,
lib/bin_install/node.rb,
lib/bin_install/ruby.rb,
lib/bin_install/yarn.rb,
lib/bin_install/mysql.rb,
lib/bin_install/rails.rb,
lib/bin_install/redis.rb,
lib/bin_install/shell.rb,
lib/bin_install/xcode.rb,
lib/bin_install/server.rb,
lib/bin_install/version.rb,
lib/bin_install/postgres.rb,
lib/bin_install/ruby/rvm.rb,
lib/bin_install/brew/cask.rb,
lib/bin_install/ruby/rbenv.rb,
lib/bin_install/atom/package.rb,
lib/bin_install/brew/package.rb,
lib/bin_install/brew/service.rb,
lib/bin_install/zsh/oh_my_zsh.rb,
lib/generators/bin_install/install_generator.rb
Defined Under Namespace
Modules: Atom, Brew, Gem, Generators, Git, Mysql, Node, Postgres, Rails, Redis, Ruby, Server, Shell, Xcode, Yarn, Zsh
Constant Summary
collapse
- VERSION =
'0.0.33'.freeze
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.finish ⇒ Object
27
28
29
30
|
# File 'lib/bin_install.rb', line 27
def self.finish
puts "Finished bin_install #{VERSION}.".green
puts 'Warning you may need to reload your shell.'.yellow
end
|
.start ⇒ Object
21
22
23
24
25
|
# File 'lib/bin_install.rb', line 21
def self.start
puts "Starting bin_install #{VERSION}...".white
puts 'Your current PATH is set to: '
system('echo $PATH')
end
|
.system!(*args) ⇒ Object
32
33
34
|
# File 'lib/bin_install.rb', line 32
def self.system!(*args)
system(*args) || abort("Command #{args} failed!".red)
end
|
Instance Method Details
#app_name ⇒ Object
36
37
38
|
# File 'lib/bin_install.rb', line 36
def app_name
File.basename(Dir.pwd)
end
|