tmp clear and Gemfile repair