Undefined local variable or method `branch` for Gemfile