Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (15 sloc) 0.542 kb
unless brew_installed? "memcached"
brew "memcached"
directory "/Users/#{WS_USER}/Library/LaunchAgents" do
owner WS_USER
action :create
end
execute "copy memcached plist to ~/Library/LaunchAgents" do
command "cp `brew --prefix memcached`/homebrew.mxcl.memcached.plist #{WS_HOME}/Library/LaunchAgents/"
user WS_USER
end
execute "load the memcached plist into the mac daemon startup thing" do
command "launchctl load -w #{WS_HOME}/Library/LaunchAgents/homebrew.mxcl.memcached.plist"
user WS_USER
end
end
Jump to Line
Something went wrong with that request. Please try again.