load custom before theme so it's safe; fix Gemfile.lock pattern