lib/bin_install/redis.rb in bin_install-0.0.12 vs lib/bin_install/redis.rb in bin_install-0.0.13
- old
+ new
@@ -1,14 +1,16 @@
module BinInstall
module Redis
def self.install
puts 'Installing Redis...'.white
Brew::Package.install_or_upgrade('redis')
+ Brew::Service.start!('redis')
end
def self.install!
puts 'Installing Redis...'.white
Brew::Package.install_or_upgrade!('redis')
+ Brew::Service.start!('redis')
end
def self.installed?
Shell.executable_exists?('redis-server')
end