[CopyResourcesScript] Fix permissions
[Gemfile] Adopt local git repos feature of Bunlder