monkrb / skeleton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thorfile doesn't start redis

audy opened this issue · comments

line 32 in Thorfile

invoke :redis

calls:

def redis(action = "start")
  puts action # 'development'
  case action
  when "start" then redis_start
  when "stop"  then redis_stop
  else say_status(:error, "Usage: monk redis start|stop")
  end
end

I added the puts action because even though the default is "start", puts prints development and I get an error when running thor monk:start development

   error  Usage: monk redis start|stop
 success  Starting Monk in development environment