Do not track Gemfile lock
Get path content before creating file for write. Fix #1
Move require to file top