fixed the gemfile bugs and added a to the task controller