JC: added @task_category to action create when data error. Deleted Gemfile.lock.