Added rails and dependencies to comp